SA-MP Forums Archive
i need help here - 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: i need help here (/showthread.php?tid=588036)



i need help here - Rafaeloo - 04.09.2015

this fs script engine v3 when i press SHIFT its not start the car adn with /engine command not turning on !

who can tell me where is problem here?




Code Is HERE ! ::::: http://pastebin.com/8JpiNitG


reply please and help me ! i need it


Re: i need help here - Rafaeloo - 04.09.2015

whoo can helppp meeee


Re: i need help here - AmirHossaiN - 04.09.2015

use SetVehicleParamsEx

PHP код:
new veh GetPlayerVehicleID(playerid);
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective); 
for engine off:
PHP код:
SetVehicleParamsEx(veh,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective); 
for engine on:
PHP код:
SetVehicleParamsEx(veh,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective); 



Re: i need help here - Rafaeloo - 04.09.2015

can u send me a full script ? please


Re: i need help here - AmirHossaiN - 04.09.2015

try it:

http://pastebin.com/BEpbnZ01


Re: i need help here - Rafaeloo - 04.09.2015

its shwoing me warnings andits not completed :/


Re: i need help here - Bomber07 - 05.09.2015

show me the wornings !