[AJUDA] /daradmin
#2

faltou a return no comando ._.'
pawn Код:
if(strcmp("/daradmin", cmdtext, true) == 0)
    {
        new tmp[256], idx;
        tmp = strtok (cmdtext, idx);
        idx = strval(tmp);
        if(!strlen(tmp)) return SendClientMessage(playerid, PRETO, "Use: /daradmin id");
        if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, PRETO, "Este jogador nгo estб conectado!");
        PlayerInfo[playerid][pAdmin] = 1337;
        SendClientMessage(playerid, PRETO, "Agora vocк й ADM.");
        return 1; // <<<<<<<<<<<< AKIIIIIIIIIIII!
    }
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)