pawn Код:
public OnPlayerDeath(playerid, killerid, reason){
new Celulas[128], Money = (1000 + random(4500));
format(Celulas, 128, "%s matou %s e recebeu R$%d,00", Nick(killerid), Nick(playerid), Money );
SendClientMessageToAll(-1, Celulas);
GivePlayerMoney(killerid, Money);
GivePlayerMoney(playerid, -Money);
return true;
}
stock Nick(playerid) {
new NOME[21];
GetPlayerName(playerid, NOME, 21);
return NOME;
}