14.01.2012, 19:55
Why not?
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(killerid, COLOR_GREY, " You're now a murder! ");
GivePlayerMoney(killerid, 500);
if(killerid != INVALID_PLAYER_ID) {
SendClientMessage(playerid, COLOR_GREY, " You have been murdered! ");
GivePlayerMoney(playerid, -500);
}
return 1;
}