26.08.2013, 13:59
?? i want to fix lost money after die $100
public OnPlayerDeath(playerid, killerid, reason)
GivePlayerMoney(playerid, -100);
|
Under
pawn Код:
pawn Код:
|
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(playerid, 100);
return 1;
}
|
There is no such thing in the script. This is default. When player dies, by default he loses $100.
You have to give the money back to player when he dies so he won't lose anything in total. pawn Код:
|