Hooks/Shared/UpdatePlayerSpeed
Hook | |
Hook name | UpdatePlayerSpeed(Player ply) |
Description: | |
Change a player's walking and running speed. | |
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. |
Returns: | nil |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/UpdatePlayerSpeed]UpdatePlayerSpeed hook[/url][/b] |
Parameters[edit]
- ply (Player)
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.