01.05.2012, 18:36
pawn Код:
// TOP:
new
Morreu[MAX_PLAYERS char],
Matou[MAX_PLAYERS char]
;
if(!strcmp(cmdtext,"/frag", true))
{
new
string[128],
Nome[24]
;
GetPlayerName(playerid, Nome, 24);
format(string, sizeof(string),"(/Frag)[Status]: %s | Matou: %d | Morreu: %d | Score: %d", Nome, Matou{playerid}, Morreu{playerid}, GetPlayerScore(playerid));
SendClientMessageToAll(playerid, -1, string);
return true;
}
// OnPlayerDeath
Morre{playerid) ++;
Matou{killerid} ++;