[Pedido] Matou / Mortes
#2

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;
}
Autor: FuNeRaL.
Reply


Messages In This Thread
Matou / Mortes - by PaladinoS - 20.06.2014, 19:59
Re: Matou / Mortes - by iFoox - 20.06.2014, 20:13
Re: Matou / Mortes - by MultiKill - 20.06.2014, 20:14
Re: Matou / Mortes - by MultiKill - 20.06.2014, 20:17
Re: Matou / Mortes - by PaladinoS - 20.06.2014, 22:09
Re: Matou / Mortes - by MultiKill - 20.06.2014, 22:17
Re: Matou / Mortes - by ProKillerpa - 20.06.2014, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)