[Ajuda] Erro ao Compilar [Urgente Please] - 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: [Ajuda] Erro ao Compilar [Urgente Please] (
/showthread.php?tid=390328)
Erro ao Compilar [Urgente Please] -
DrKaFuZo - 05.11.2012
Esta dando esse erro ao compilar. alguem sabe oque pode ser?
Код:
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
D:\SAMP SERVER\teste\pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
D:\SAMP SERVER\teste\gamemodes\test.pwn(1902) : error 017: undefined symbol "GetVehicleParamsEx"
D:\SAMP SERVER\teste\gamemodes\test.pwn(1902) : error 017: undefined symbol "SetVehicleParamsEx"
D:\SAMP SERVER\teste\gamemodes\test.pwn(1902) : error 017: undefined symbol "SetVehicleParamsEx"
D:\SAMP SERVER\teste\gamemodes\test.pwn(1902) : fatal error 107: too many error messages on one line
Linha do Erro :
Код:
vehicleid = GetPlayerVehicleID(playerid);GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);if(GetPVarInt(playerid,"Lights") == 1){SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective);SetPVarInt(playerid,"Lights",0);}else if(GetPVarInt(playerid,"Lights") == 0){SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective);
Re: Erro ao Compilar [Urgente Please] -
CrusherCpt - 05.11.2012
pawn Код:
vehicleid = GetPlayerVehicleID(playerid);GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
if(GetPVarInt(playerid,"Lights") == 1)
{
SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective);
SetPVarInt(playerid,"Lights",0);
}
else if(GetPVarInt(playerid,"Lights") == 0)
{
SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective);
??
Tenta: