[Ajuda] Comando dando erro...
#1

To tentando criar um Incendio automatico no posto petrobras que й nessa coordenada aqui:1747.3075,-1014.8307,23.9609

Mas da esse erro aqui abaixo:

PHP код:
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(51003) : error 017undefined symbol "fogo"
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(59945) : error 017undefined symbol "CreteObject"
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(59945) : warning 204symbol is assigned a value that is never used"fogo"
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(59945 -- 59948) : error 001expected token";"but found ")"
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(60093) : error 054unmatched closing brace ("}")
C:\Users\gustavo\Desktop\BSR GM OF Cуpia\Gamemodes\BSR.pwn(62786) : warning 203symbol is never used"FinalizarIncendio"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Vou passar minhas Publics para vocкs:
PHP код:
//Sistema incendiar auto
forward IniciarIncendio();
forward Finalizarincendio();
forward TempoIncendioP(); 
Abaixo as Public
PHP код:
public IniciarIncendio()
{
    new 
fogo CreteObject(18690,1747.3075,-1014.8307,23.9609,283.5074,0,0,0,0,0,0);
    
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi iniciado no Posto Petrobras, Motivo:Desconhecido.");
}
public 
FinalizarIncendio)
{
    
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
    
DestroyObject(fogo);
}
public 
TempoIncendioP()
{
    
SetTimer("IniciarIncendio"1800false);
         }
        }
    }
    
SetTimer("FinalizarIncendio"1800false);
            }
        }
    }

E o comando /apagarince

PHP код:
if(strcmp("/apagarince"cmdtexttrue10) == 0)
        {
        if(
PlayerInfo[playerid][pMembro] != && PlayerInfo[playerid][pLider] != 4)
        {
               
SendClientMessage(playerid,COLOR_GRAD1,"Vocк nгo й dos Samu para Apagar o Incкndio");
               return 
1;
        }
        new 
carid GetPlayerVehicleID(playerid);
        if(!
IsAnAmbulanceCar(carid) && GetPlayerWeapon(playerid) != 42)
        {
               
SendClientMessage(playeridCOLOR_GRAD5"Vocк nгo estб com o extintor ou no caminhao!.");
            return 
1;
        }
        if(!
PlayerToPoint(5.0,playerid1747.3075,-1014.8307,23.9609)) return SendClientMessage(playerid, -1"Vocк nгo esta no Posto petrobras ou nгo esta pegando fogo!");
        
SendClientMessage(playeridCOLOR_GRAD5"Vocк estб apagando o Incкndio,continue no local para apagar o Incкndio");
        
DestroyObject(fogo);
        } 
Pessoal Porfavor me ajuda tentei de tudo

Ajude-me porfavor
Reply


Messages In This Thread
Comando dando erro... - by zGuigui2068 - 02.01.2015, 23:24
Re: Comando dando erro... - by Learning - 02.01.2015, 23:29
Re: Comando dando erro... - by MultiKill - 02.01.2015, 23:38
Re: Comando dando erro... - by Artista - 02.01.2015, 23:39
Re: Comando dando erro... - by zGuigui2068 - 02.01.2015, 23:41
Re: Comando dando erro... - by Artista - 02.01.2015, 23:42
Re: Comando dando erro... - by Learning - 02.01.2015, 23:43
Re: Comando dando erro... - by zGuigui2068 - 03.01.2015, 00:06
Re: Comando dando erro... - by Dolpin - 03.01.2015, 00:34
Re: Comando dando erro... - by zGuigui2068 - 03.01.2015, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)