SA-MP Forums Archive
New Callbacks? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: New Callbacks? (/showthread.php?tid=238946)



New Callbacks? - Rokzlive - 12.03.2011

Whats the callbacks for engine on and off, lights, truck, bonnet, etc. Basically what is all the new 0.3c callbacks.


Re: New Callbacks? - Rokzlive - 12.03.2011

Hello?


Re: New Callbacks? - Medal Of Honor team - 12.03.2011

there are no new callbacks


Re: New Callbacks? - Calgon - 12.03.2011

There aren't any callbacks for that, but there are new functions for it.

GetVehicleParamsEx
SetVehicleParamsEx


Re: New Callbacks? - Rokzlive - 12.03.2011

Wait so how do i turn engine on and off and lights on and off, and hoods, and trunks.

Is it like this for engine on?

new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,b onnet,boot,objective);
SetVehicleParamsEx(vehicleid,1,lights,alarm,doors, bonnet,boot,objective);

And Off

new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,b onnet,boot,objective);
SetVehicleParamsEx(vehicleid,0,lights,alarm,doors, bonnet,boot,objective);