[Ajuda] Comando /acurar
#5

pawn Код:
if(strcmp(cmd, "/acurar", true) == 0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
        return SendClientMessage(playerid, COLOR_LIGHTORANGE, "[Comando:] /acurar [playerid] ");
    new playa;
    playa = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    if(PlayerInfo[playerid][pAdmin] < 1)
        return SendClientMessage(playerid,-1,"ERRO: Nao йs administrador.");
    if(IsPlayerConnected(playa))
        return SendClientMessage(playerid,-1," o jogador estб offline!");
    icurar(playa);
    format(string, sizeof(string), " Foste curado por %s.",GetPlayerNameEx(playerid));
    SendClientMessage(playa,COLOR_WHITE,string);
    format(string, sizeof(string), " Curaste %s.",GetPlayerNameEx(playa));
    SendClientMessage(playerid,COLOR_WHITE,string);
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Comando /acurar - by JuniorPT - 13.02.2012, 20:01
Re: [Ajuda] Comando /acurar - by Hard` - 13.02.2012, 20:06
Re: [Ajuda] Comando /acurar - by JuniorPT - 13.02.2012, 20:08
Re: [Ajuda] Comando /acurar - by Hard` - 13.02.2012, 20:11
Re: [Ajuda] Comando /acurar - by zbt - 13.02.2012, 23:52
Re: [Ajuda] Comando /acurar - by JuniorPT - 14.02.2012, 17:32
Re: [Ajuda] Comando /acurar - by Hard` - 14.02.2012, 17:40
Re: [Ajuda] Comando /acurar - by JuniorPT - 15.02.2012, 18:09
Re: [Ajuda] Comando /acurar - by marcelodell - 15.02.2012, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)