02.01.2015, 23:41
@Editado
Editei de acordo com os novos comentarios.
deu nisso
Segundo erro.
Erro 3
Sгo esses os erros...
obg a ajuda de vcs pessoal quero mt corrigir esse erro.
Editei de acordo com os novos comentarios.
deu nisso
PHP код:
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.
PHP код:
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;
}
PHP код:
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;
}
PHP код:
public FinalizarIncendio()
{
SendClientMessageToAll(0xFFFFFFAA,"Um Incendio Foi Combatido Automaticamente.");
DestroyObject(fogo); // erro 3 aq
return 1;
}
obg a ajuda de vcs pessoal quero mt corrigir esse erro.

