SA-MP Forums Archive
How to disable running - 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 to disable running (/showthread.php?tid=626684)



How to disable running - AndreiWow - 18.01.2017

How can I make the player unable to run? I am making a broken leg system.


Re: How to disable running - Sew_Sumi - 18.01.2017

Check for sprint animation, and make them collapse to make them use walk, or go nowhere...


That's just the way I'd be looking at this for realism.

I don't think you'd be able to "stop" them running in a script sense, but the consequence of falling over and being "stopped" would make them realize in a decent way.