20.06.2014, 20:13
pawn Код:
new Kills[MAX_PLAYERS];
new Deaths[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
Kills[killerid]++;
Deaths[playerid]++;
return 1;
}
CMD:status(playerid)
{
new Dialog[256], Str[80];
format(Str, sizeof(Str), "Seus Kills: %d\n", Kills[playerid]);
format(Str, sizeof(Str), "Suas Mortes: %d", Deaths[playerid]);
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "K/D", Dialog, "Ok","");
return 1;
}

