Garry's Mod Wiki




We advise against using this. It may be changed or removed in a future update. This appears to be a direct binding to internal functionality that is overridden by the engine every frame so calling these functions may not have any or expected effect.

When used in a GM:SetupMove hook, this function will force the player to walk, as well as preventing the player from sprinting.


Example usage, forces the player to walk. (+walk console command)

hook.Add( "SetupMove", "TestFunc", function( ply, mv, cmd ) ply:StartWalking() end )

Page Links

Special Pages



Render Time: 66ms

DB GetPage 48
Generate Html 1
SaveChanges (1) 9
Render Body 0
Render Sidebar 6