SA-MP Forums Archive
Problema ao compilar - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Problema ao compilar (/showthread.php?tid=612353)



Problema ao compilar - mrdiego - 17.07.2016

Alguem sabe resolver isso?
C:\Users\DIEGO\Downloads\samp037_svr_R2-1-1_win32\pawno\include\sscanf.inc(3 : error 017: undefined symbol "isnull"
PHP код:
C:\Users\DIEGO\Documents\imperio.pwn(73) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(76) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(125) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(134) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(136) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(139) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(154) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(156) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(190) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(194) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(197) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(198) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(211) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(235) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(240) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(254) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(257) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(259) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(264) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(266) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(268) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(308) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(326) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(330) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(381) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(383) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(408) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(438) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(441) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(481) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(494) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(498) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(499) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(501) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(508) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(512) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(523) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(558) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(560) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(596) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(701) : error 017undefined symbol "isnull"
C:\Users\DIEGO\Documents\imperio.pwn(720) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(722) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(996) : warning 217loose indentation
C
:\Users\DIEGO\Documents\imperio.pwn(1001) : error 017undefined symbol "gVehiclesCreated_IPSinicio"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : error 017undefined symbol "gVehiclesCreated_IPS"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : warning 215expression has no effect
C
:\Users\DIEGO\Documents\imperio.pwn(1001) : error 001expected token";"but found "]"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : fatal error 107too many error messages on one line 



Re: Problema ao compilar - moura98 - 17.07.2016

esta tendo problemas com identaзгo poste o codigo


Re: Problema ao compilar - mrdiego - 17.07.2016

Qual codigo?


Re: Problema ao compilar - BLacksKrillex - 17.07.2016

Ixi... Vai demorar muito pra identar entao coloque isso no topo da gm
PHP код:
#pragma tabsize 0 
e isso aqui tb
PHP код:
 #if !defined isnull
    #define isnull(%1) \
                
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif 



Re: Problema ao compilar - mrdiego - 17.07.2016

PHP код:
 C:\Users\DIEGO\Downloads\samp037_svr_R2-1-1_win32\pawno\include\sscanf.inc(38) : error 017undefined symbol "isnull"
C:\Users\DIEGO\Documents\imperio.pwn(702) : error 017undefined symbol "isnull"
C:\Users\DIEGO\Documents\imperio.pwn(1002) : error 017undefined symbol "gVehiclesCreated_IPSinicio"
C:\Users\DIEGO\Documents\imperio.pwn(1002) : error 017undefined symbol "gVehiclesCreated_IPS"
C:\Users\DIEGO\Documents\imperio.pwn(1002) : warning 215expression has no effect
C
:\Users\DIEGO\Documents\imperio.pwn(1002) : error 001expected token";"but found "]"
C:\Users\DIEGO\Documents\imperio.pwn(1002) : fatal error 107too many error messages on one line 
deu isso


Re: Problema ao compilar - BLacksKrillex - 17.07.2016

Nesse caso vc precisa postar o code e as linhas..


Re: Problema ao compilar - mrdiego - 17.07.2016

Linha 38:
PHP код:
         print("* Impйrio Alviverde - [IAV]Manin"); 
Codigo completo da linha 702
PHP код:
 CMD:asay(playeridparams[])
{
        if(
isnull(params))
                return 
SendClientMessage(playerid0x2641FEAA"Uso: /asay [Mensagem]");

        if(
AccountPlayer[playerid][ADM])
                return 
format(Querysizeof(Query), "Adminstrador %s: %s"GetPlayerNameEx(playerid), params), SendClientMessageToAll(0x3333FF96Query);
        if(
AccountPlayer[playerid][PUX] || AccountPlayer[playerid][ORG])
                return 
format(Querysizeof(Query), "[GLOBAL %s] %s: %s", (AccountPlayer[playerid][ORG] ? ("ORGANIZADOR") : ("PUXADOR")), GetPlayerNameEx(playerid), params), SendClientMessageToAll(0x00A60096Query);

        return 
SendClientMessage(playerid0xFF0000AA"ERRO: Vocк nгo pode usar este comando!");

Linha 1002 codigo:
PHP код:
 each(VehiclesCreated->new i)
    {

                
inVeh false;

        
each(Players->new j)
        {
            if(
IsPlayerInVehicle(ji))
            {
                
inVeh true;
            } 



Re: Problema ao compilar - BLacksKrillex - 17.07.2016

Tente Usar o sscanf..
PHP код:
if(sscanf(params"s[128]" params)) return SendClientMessage(playerid, -1"USO: /Asay [Mensagem]"); 
ps: a linha do error 38 nao e da gm..


Re: Problema ao compilar - mrdiego - 17.07.2016

Conseguir Black, agora tem 5 erros
PHP код:
 :\Users\DIEGO\Documents\imperio.pwn(1001) : error 017undefined symbol "gVehiclesCreated_IPSinicio"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : error 017undefined symbol "gVehiclesCreated_IPS"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : warning 215expression has no effect
C
:\Users\DIEGO\Documents\imperio.pwn(1001) : error 001expected token";"but found "]"
C:\Users\DIEGO\Documents\imperio.pwn(1001) : fatal error 107too many error messages on one line 



Re: Problema ao compilar - mrdiego - 18.07.2016

Conseguir resolver o erro, valeu