Player.SetStepSize

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:SetStepSize( Number size )
Description:
Sets player's step size.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetStepSize]Player.SetStepSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionMakes the player 1 able to step 100 units high steps
Used onNewerShared.png
Code
player.GetByID(1):SetStepSize(100)
OutputPlayer 1 is now able to step on roofs!


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox