05.11.2012, 18:24
Esta dando esse erro ao compilar. alguem sabe oque pode ser?
Linha do Erro :
Код:
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
Код:
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);