Player.SetWalkSpeed

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:SetWalkSpeed( Number Speed )
Description:
Sets the walk speed of the player.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetWalkSpeed]Player.SetWalkSpeed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionA function that slows the player down.
Used onNewerServer.png
Code
function Slow( ply )
    ply:SetWalkSpeed( 50 )
end
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox