Code:
# Jedi Knight Cog Script # # item_money_check.COG # # Money Check Script # # # symbols thing player local message startup message activated sound boop=bactause01.wav local int i=0 local int moonay=0 local end # ======================================================================================== code startup: player = GetLocalPlayerThing(); SetInvActivated(player, 170, 1); Return; # ........................................................................................ activated: if (i==0) { i=1; moonay = GetInv(player, 170); JKPrintUNIString(player, 1004); printInt(moonay); PlaySoundLocal(boop, 1.0, 0.0, 0x0); Sleep(2.0); i = 0; } Return; end
When the player presses a button on their keyboard, this hotkey will display how much money they have (stored in bin 170). It won't work -- why?
I should note that the bin works in a level COG.
the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot - LC Tusken