[Ajuda] Comando bugado.
#7

Eu nгo entendo mais й nada! eu fiz do modo certo e o trem fala que nгo estб em uso, quebrei a cabeзa e nada saiu, afs..

Code:
C:\Documents and Settings\Administrador\Desktop\gamemode\gamemodes\BSL.pwn(41810) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Desktop\gamemode\gamemodes\BSL.pwn(41809) : warning 204: symbol is assigned a value that is never used: "level"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Code:
if (strcmp(cmd, "/banconta", true) == 0)
    {
        if (IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] < 3)
            {
                SendClientMessage(playerid, COLOR_GRAD1, "ERRO: Vocк nгo tem nнvel administrativo suficiente.");
                return true;
            }
            if (PlayerInfo[playerid][pAdminStats] != 0 && PlayerInfo[playerid][pAdmin] <= 5)
            {
                SendClientMessage(playerid, COLOR_GRAD1,"ERRO: Vocк nгo estб no modo admin! (/trabalhar)");
                return true;
            }
            tmp = strtok(cmdtext, idx);
            if (!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_WHITE, "USE: /banconta [Nome] [Motivo]");
                return true;
            }
            new level;
            level = strval(tmp); //> error linha 41809
             VBanNick(playerid,tmp,level); // Ban por nick >> erro linha 41810 afs
//playerid = Administrador que efetuou o ban
//para1 = Nick que sofreu o ban
//level = Motivo do ban
        }
        return true;
    }
Reply


Messages In This Thread
Comando bugado. - by SukMathcuck - 23.01.2015, 21:12
Re: Comando bugado. - by MultiKill - 23.01.2015, 21:23
Re: Comando bugado. - by SukMathcuck - 23.01.2015, 21:44
Re: Comando bugado. - by MultiKill - 23.01.2015, 21:46
Re: Comando bugado. - by SukMathcuck - 23.01.2015, 22:10
Re: Comando bugado. - by MultiKill - 23.01.2015, 22:33
Re: Comando bugado. - by SukMathcuck - 23.01.2015, 23:00
Re: Comando bugado. - by MultiKill - 23.01.2015, 23:12
Re: Comando bugado. - by SukMathcuck - 23.01.2015, 23:19
Re: Comando bugado. - by MultiKill - 23.01.2015, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)