generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
8
_module/nss/collect_win.nss
Normal file
8
_module/nss/collect_win.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int iWinnings = GetLocalInt(oPC, "winnings");
|
||||
GiveGoldToCreature(oPC, iWinnings);
|
||||
SetLocalInt(oPC, "team_bet", 0);
|
||||
AssignCommand(oPC, PlaySound("it_coins"));
|
||||
}
|
||||
Reference in New Issue
Block a user