[AJUDA] /daradmin
#5

Isto deve resolver o seu problema :


pawn Код:
new comando[64], indice;
    comando = strtok(cmdtext, indice);
    if(!strcmp(comando, "/daradmin", true))
    {
        new id;
        comando = strtok(cmdtext, indice);
        if(!strlen(comando)) return SendClientMessage(playerid, PRETO, "Use: /daradmin id");
        id = strval(comando);
        if(!IsPlayerConnected(id)) return SendClientMessage(playerid, PRETO, "Este jogador nгo estб conectado!");
        PlayerInfo[id][pAdmin] = 1337;
        SendClientMessage(id, PRETO, "Agora vocк й ADM.");
        return 1;
    }


Espero ter ajudado .
Reply


Messages In This Thread
[AJUDA] /daradmin - by mengueh - 10.05.2012, 15:43
Re: [AJUDA] /daradmin - by [NWD]Jim._.Carrey - 10.05.2012, 15:50
Re: [AJUDA] /daradmin - by zbt - 10.05.2012, 15:51
Re: [AJUDA] /daradmin - by Dolby - 10.05.2012, 15:51
Re: [AJUDA] /daradmin - by rjjj - 10.05.2012, 15:52
Re: [AJUDA] /daradmin - by mengueh - 10.05.2012, 15:52
Re: [AJUDA] /daradmin - by leonardo1434 - 10.05.2012, 15:54
Re: [AJUDA] /daradmin - by mengueh - 10.05.2012, 15:55
Re: [AJUDA] /daradmin - by [NWD]Jim._.Carrey - 10.05.2012, 16:00

Forum Jump:


Users browsing this thread: 2 Guest(s)