Garry's Mod Wiki

GM:SetPlayerSpeed

GM:SetPlayerSpeed( Player ply, number walkSpeed, number runSpeed )

Description

Sets player run and sprint speeds.

This is not a hook. Treat this as a utility function to set the player's speed.

Arguments

1 Player ply
The player to set the speed of.
2 number walkSpeed
The walk speed.
3 number runSpeed
The run speed.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 6