From DarkRP
Jump to navigation Jump to search
Hook name UpdatePlayerSpeed(Player ply)
Change a player's walking and running speed.
Error.png Warning:

This hook is deprecated. You should avoid using it as it only exists for backwards compatibility and may be removed from a future version.
Use GMod's SetupMove and Move hooks instead.

Returns: nil
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/UpdatePlayerSpeed]UpdatePlayerSpeed hook[/url][/b]


  1. ply (Player)
  2. The player for whom the speed changes.

Return values[edit]

This hook does not accept return values. You can still return a value to override the default implementation of this hook.