C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(51003) : error 017: undefined symbol "fogo"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59945) : error 017: undefined symbol "CreteObject"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59945) : warning 204: symbol is assigned a value that is never used: "fogo"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59945 -- 59948) : error 001: expected token: ";", but found ")"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60093) : error 054: unmatched closing brace ("}")
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(62786) : warning 203: symbol is never used: "FinalizarIncendio"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
//Sistema incendiar auto
forward IniciarIncendio();
forward Finalizarincendio();
forward TempoIncendioP();
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", 1800, false);
}
}
}
SetTimer("FinalizarIncendio", 1800, false);
}
}
}
}
if(strcmp("/apagarince", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMembro] != 4 && 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(playerid, COLOR_GRAD5, "Vocк nгo estб com o extintor ou no caminhao!.");
return 1;
}
if(!PlayerToPoint(5.0,playerid, 1747.3075,-1014.8307,23.9609)) return SendClientMessage(playerid, -1, "Vocк nгo esta no Posto petrobras ou nгo esta pegando fogo!");
SendClientMessage(playerid, COLOR_GRAD5, "Vocк estб apagando o Incкndio,continue no local para apagar o Incкndio");
DestroyObject(fogo);
}
public IniciarIncendio()
{
new fogo = CreateObject(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.");
return 1;
}
public FinalizarIncendio()
{
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
DestroyObject(fogo);
return 1;
}
public TempoIncendioP()
{
SetTimer("IniciarIncendio", 1800, false);
SetTimer("FinalizarIncendio", 1800, false);
return 1;
}
public IniciarIncendio()
{
new fogo = CreteObject(18690,1747.3075,-1014.8307,23.9609,283.5074,0,0,0,0,0,0); // Uhum, Que tal colocar no OnPlayerConnect ?
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi iniciado no Posto Petrobras, Motivo:Desconhecido.");
} //Claro nгo precisa retornar nada, a GM faz isso sozinho
public FinalizarIncendio) // faltando ' ( '
{
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
DestroyObject(fogo);
} //Claro nгo precisa retornar nada, a GM faz isso sozinho
public TempoIncendioP()
{
SetTimer("IniciarIncendio", 1800, false);
}// 1(uma)
} //2( duas )
} //3( Trкs )
SetTimer("FinalizarIncendio", 1800, false);
}// 4( Quatro )
} //5( Cinco )
} //6( Seis )
}//7( Sete ) - Me fala pra que esse tanto de chave ? - Claro nгo precisa retornar nada, a GM faz isso sozinho
new fogo = CreteObject(18690,1747.3075,-1014.8307,23.9609,283.5074,0,0,0,0,0,0);
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(51003) : error 017: undefined symbol "fogo"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59946) : warning 202: number of arguments does not match definition
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59946) : warning 202: number of arguments does not match definition
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59946) : warning 202: number of arguments does not match definition
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59946) : warning 204: symbol is assigned a value that is never used: "fogo"
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59946 -- 59950) : warning 235: public function lacks forward declaration (symbol "FinalizarIncendio")
C:\Users\gustavo\Desktop\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(59953) : error 017: undefined symbol "fogo"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
if(strcmp("/apagarince", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMembro] != 4 && 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(playerid, COLOR_GRAD5, "Vocк nгo estб com o extintor ou no caminhao!.");
return 1;
}
if(!PlayerToPoint(5.0,playerid, 1747.3075,-1014.8307,23.9609)) return SendClientMessage(playerid, -1, "Vocк nгo esta no Posto petrobras ou nгo esta pegando fogo!");
SendClientMessage(playerid, COLOR_GRAD5, "Vocк estб apagando o Incкndio,continue no local para apagar o Incкndio");
DestroyObject(fogo); //linha do primeiro erro.
return 1;
}
public IniciarIncendio()
{
new fogo = CreateObject(18690,1747.3075,-1014.8307,23.9609,283.5074,0,0,0,0,0,0); // linha do 2 erro
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi iniciado no Posto Petrobras, Motivo:Desconhecido.");
return 1;
}
public FinalizarIncendio()
{
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
DestroyObject(fogo); // erro 3 aq
return 1;
}
new fogo;
public IniciarIncendio()
{
fogo = CreateObject(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.");
SetTimer("FinalizarIncendio", 1800, false);
return 1;
}
public FinalizarIncendio()
{
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
DestroyObject(fogo);
return 1;
}
public TempoIncendioP(){ // Eu acho isso desnecessбrio... Visto que pode usar o timer no comando mesmo...
return SetTimer("IniciarIncendio", 1800, false);
}
Deu erro nisso mano olha...
PHP код:
PHP код:
PHP код:
PHP код:
![]() e eu nгo Copiei de ninguem eu tentei criar... e saiu isso ![]() |
new fogo;
forward FinalizarIncendio();