16.08.2013, 06:45
For random money/score:
The killer will get random money from 0 - 5000$ and score from 0 - 1000.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
SetPlayerMoney(killerid, GetPlayerMoney(killerid) + random(5000)), SetPlayerScore(killerid, GetPlayerScore(killerid) + random(1000));
}