How do I add SAMP 0.3c Vehicle Controls?
#1

Hello, I found a tutorial one time, and Now I cant Find it, SO I'm WOndering if anyone could show me how to make the 0.3c Controls Useable in my Gamemode?
Reply
#2

If you mean like opening/closing trunk, bonnet, engine etc.

Use SetVehicleParamsEx
Reply
#3

SetVehicleParamsEx.
Reply
#4

Yea, I do Mean the Boot and Bonnet and Et Cetra, But I dont know what to do in order for it to work
Reply
#5

PHP код:
new enginelightsalarmdoorsbonnetbootobjective;
GetVehicleParamsEx(vehicleid,enginelightsalarmdoorsbonnetbootobjective);
SetVehicleParamsEx(vehicleid,enginelightsalarmdoorsbonnetbootobjective); /* what you want to turn off/on set to 1 for on and to 0 for off
So if you want to turn lights off you would do */
SetVehicleParamsEx(vehicleid,engine0alarmdoorsbonnetbootobjective);//instead of lights add 0
//and to turn them on use
SetVehicleParamsEx(vehicleid,engine1alarmdoorsbonnetbootobjective); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)