Problema ao compilar
#1

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 
Reply
#2

esta tendo problemas com identaзгo poste o codigo
Reply
#3

Qual codigo?
Reply
#4

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 
Reply
#5

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
Reply
#6

Nesse caso vc precisa postar o code e as linhas..
Reply
#7

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;
            } 
Reply
#8

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..
Reply
#9

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 
Reply
#10

Conseguir resolver o erro, valeu
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)