Two errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Two errors (
/showthread.php?tid=283914)
Two errors -
[IL]HeHu - 17.09.2011
I have this:
PHP код:
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective);
I read somewhere that you don't have to do: new engine,lights,etc;
But these are the errors i am getting:
PHP код:
C:\Users\Mark\Desktop\GRP.pwn(1251) : error 017: undefined symbol "engine"
C:\Users\Mark\Desktop\GRP.pwn(1252) : error 017: undefined symbol "alarm"
Re: Two errors -
[MWR]Blood - 17.09.2011
Seems like you missed engine and alarm then.
pawn Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
Re: Two errors -
=WoR=Varth - 17.09.2011
Use -1 to ignore current params.