how can i block movement - 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: how can i block movement (
/showthread.php?tid=526786)
how can i block movement -
Hirsw0w - 19.07.2014
hey all,
i think to myself how i can block movement i want the players can drive only forward, the sides are block and back.
so if someone can help me thx.
Re: how can i block movement -
Segura - 19.07.2014
I don't think it is possible.
Re: how can i block movement -
Hirsw0w - 19.07.2014
i think it is... but i dont know how...
Re: how can i block movement -
TakeiT - 19.07.2014
https://sampwiki.blast.hk/wiki/SetVehicleVelocity
Get the velocity, if they are not moving infront of the vehicle, set the velocity to 0.