29.10.2011, 18:31
No OnPlayerDeath:
Tenta isso, fiz agora, nгo testei.
pawn Код:
if(IsACop(killerid) && roubando[playerid] == 1)
{
new string[128];
new nomedocop[MAX_PLAYER_NAME];
GetPlayerName(killerid, nomedocop, sizeof(nomedocop));
format(string, sizeof(string), "%s atrapalhou o roubo do ladrгo e ganhou 30k!", nomedocop);
SendClientMessage(playerid, CORAQUI, string);
GivePlayerMoney(killerid, 30000);
}