[AJUDA] Cmd Frag
#4

pawn Код:
if(!strcmp(cmdtext, "/frag", true)) {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /frag [id]");
    new Target = strval(tmp), tname[MAX_PLAYER_NAME];
    if(!IsPlayerConnected(Target)) return SendClientMessage(playerid,Vermelho,"ERRO: ID jogador errado");
    GetPlayerName(Target,tname,sizeof(tname));
    format(string, sizeof(string), "Frags de %s" ,tname);
    SendClientMessage(playerid ,COLOR_GREEN, string);
    format(string, sizeof(string), "Matou %d ves(es) | Morreu %d ves(es) | Dominou %d Area(s) | Grana %d | X1 Ganhos %d | X1 Perdidos %d | Se matou %d" ,PlayerInfo[Target][pMatou],PlayerInfo[Target][pMorreu],PlayerInfo[Target][pDominou],GetPlayerMoney(Target),PlayerInfo[Target][Ganhoux1],PlayerInfo[Target][Perdeux1],PlayerInfo[Target][pSematou]);
    SendClientMessage(playerid ,COLOR_YELLOW, string);
}
Eh foda saber oq cada GM tem neh!
Reply


Messages In This Thread
[AJUDA] Cmd Frag - by vascaino55 - 08.05.2012, 18:19
Re: [AJUDA] Cmd Frag - by paulor - 08.05.2012, 19:18
Re: [AJUDA] Cmd Frag - by vascaino55 - 08.05.2012, 19:28
Re: [AJUDA] Cmd Frag - by paulor - 08.05.2012, 19:33
Re: [AJUDA] Cmd Frag - by CidadeNovaRP - 08.05.2012, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)