SA-MP Forums Archive
Problem?! - 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: Problem?! (/showthread.php?tid=609380)



Problem?! - Micko123 - 11.06.2016

I have this race system as FS because i can't put it in my gamemode. Because gamemode is RP i have turn engine on command. So how can i make vehicle's engine in turned on automaticaly when race starts because i need to turn it on manually. I have this in my FS but it is not helping
PHP код:
new vehicleidenginelightsalarmdoorsbonnetbootobjective;
            
GetVehicleParamsEx(vehicleidenginelightsalarmdoorsbonnetbootobjective);
            
SetVehicleParamsEx(vehicleid1lightsalarmdoorsbonnetbootobjective); 
What can i do?


Re: Problem?! - Dayrion - 11.06.2016

I don't understand what is the problem or what you want. :/
By the way check this, no?
PHP код:
ManualVehicleEngineAndLights();