01.11.2013, 17:47
Aqui uma base, EU NГO TESTEI:
pawn Код:
new pSpree[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
pSpree[playerid] = 0;
pSpree[killerid]++;
if(pSpree[killerid] > 5)
{
new pName[24], Str[256];
GetPlayerName(killerid, pName, 24);
if(pSpree[killerid] == 5) format(Str, 256, "ANTENЗГO: O Player %s jб mandou 5 players pra vala sem morrer.", pName);
if(pSpree[killerid] == 10) format(Str, 256, "ANTENЗГO: O Player %s jб mandou 10 players pra vala sem morrer.", pName);
SendClientMessageToAll(-1, Str);
}
return 1;
}