Player.GetStepSize

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:GetStepSize( )
Description:
Returns the step size for a player( default 18 ).
Returns: Number size
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetStepSize]Player.GetStepSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrints the player 1's step size to console
Used onNewerShared.png
Code
print(player.GetByID(1):GetStepSize())
Output18


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox