Quote:
Originally Posted by introzen
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { new money = GetPlayerMoney(playerid); SetPlayerMoney(playerid, money-*Amount of cash to be withdrawn*); return 1; }
|
"SetPlayerMoney" is not a valid function unless you have defined it by yourself, and therefore the script won't work.
What DJGama101 posted is correct.