02.08.2012, 11:03
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid,0xFF0000AA,"You died!, -250$ -1 Score + Medical Bills");
GivePlayerMoney(playerid,-250);
SetPlayerScore(playerid, -1);
SendClientMessage(killerid,0x3A47DEFF,"You killed him! +500$ +1 Score!");
GivePlayerMoney(killerid,500);
SetPlayerScore(killerid, 1);
return 1;
}