02.04.2012, 11:12
I know this is a noob question but I'm not sure why it's doing it.
When a player dies I want them to lose X amount of money but when they do, their money gets reset to $0.
When a player dies I want them to lose X amount of money but when they do, their money gets reset to $0.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(killerid, 7500);
new mrand =random(10000);
GivePlayerMoney(playerid,-mrand);
}
return 1;
}