[ajuda]ajuuda ou tuto '-'
#5

Quote:
Originally Posted by Los
Посмотреть сообщение
Imagino que seja GF, entгo use:

pawn Код:
new cmd[128], idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmd, "/kick", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] < 1341) return SendClientMessage(playerid, -1, "Vocк nгo й administrador 1341 ou mais!");
        new tmp[128];
        tmp = strtok(cmdtext, idx);
        if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USE: /kick [ID DO PLAYER]");
        Kick(strval(tmp));
        return 1;
    }


WTF cara? Isso simplesmente tб errado, alйm de checar se o cara NГO estб na RCON, nгo й variбvel de administraзгo do servidor dele.
error
PHP код:
C:\Users\matheus\Desktop\Teste.pwn(69) : error 017undefined symbol "pInfo"
C:\Users\matheus\Desktop\Teste.pwn(69) : error 009invalid array size (negativezero or out of bounds 
linha

PHP код:
new PlayerInfo[MAX_PLAYERS][pInfo]; 
Reply


Messages In This Thread
[ajuda]ajuuda ou tuto '-' - by kshorro - 01.11.2011, 19:27
Re: [aju/duv]ajuuda ou tuto '-' - by whiXґ - 01.11.2011, 19:37
Re: [aju/duv]ajuuda ou tuto '-' - by Miqueias Barros - 01.11.2011, 19:41
Re: [aju/duv]ajuuda ou tuto '-' - by Lуs - 01.11.2011, 19:43
Re: [aju/duv]ajuuda ou tuto '-' - by kshorro - 01.11.2011, 20:03
Re: [ajuda]ajuuda ou tuto '-' - by RebeloX - 01.11.2011, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)