Vehicle Pushing - 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: Vehicle Pushing (
/showthread.php?tid=440484)
Vehicle Pushing -
Tanush123 - 30.05.2013
is it possible to disallow others to push vehicles by sprinting
Re: Vehicle Pushing -
Lorenc_ - 30.05.2013
When you push a vehicle, usually
OnUnoccupiedVehicleUpdate is called. Though it certainly would require a lot of work just to disallow this.
It is possible, yes.
Re: Vehicle Pushing -
Tanush123 - 30.05.2013
Thanks
Re: Vehicle Pushing -
Pottus - 30.05.2013
Actually it should be pretty easy to do if you keep a record of the vehicle position you can keep setting it back to that position when OnUnoccupiedVehicleUpdate() not sure how it will look however.
Re: Vehicle Pushing -
DobbysGamertag - 30.05.2013
I thought just detecting if a players near a vehicle thats unoccupied, and clearing animations would work :S i could be wrong