generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
10
_module/nss/gamble_reset.nss
Normal file
10
_module/nss/gamble_reset.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "TLwager", 0);
|
||||
SetLocalInt(oPC, "TWwager", 0);
|
||||
SetLocalInt(oPC, "bets_placed", 0);
|
||||
PlaySound("gui_select");
|
||||
PlaySound("gui_trapdisarm");
|
||||
FloatingTextStringOnCreature("** Gambling stats reset **", oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user