• Prevent a player to run.
    5 replies, posted
How I can prevent a player to run? I tried player:SetWalkSpeed(250) but you can run a little bit...
[b][url=http://wiki.garrysmod.com/?title=Player.SprintDisable]Player.SprintDisable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Thanks!
Don't forget, if you're only disabling sprint when a certain event happens, remember to enable it again after said event! [b][url=http://wiki.garrysmod.com/?title=Player.SprintEnable]Player.SprintEnable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[QUOTE] Both SprintEnable and SprintDisable functions are broken. [/QUOTE] From the wiki...
just set SetRunSpeed( Speed ) to same speed as walk speed?
Sorry, you need to Log In to post a reply to this thread.