9 lines
203 B
Plaintext
9 lines
203 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
int iWinnings = GetLocalInt(oPC, "winnings");
|
|
GiveGoldToCreature(oPC, iWinnings);
|
|
SetLocalInt(oPC, "team_bet", 0);
|
|
AssignCommand(oPC, PlaySound("it_coins"));
|
|
}
|