26.07.2012, 21:35
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(killerid,5000);
GivePlayerMoney(playerid,GetPlayerMoney(playerid)-1000);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
SetPlayerScore(playerid,GetPlayerScore(playerid)+1);
return 1;
}