Player.SetStepSize
From GMod Wiki
Function | |
Syntax | Player:SetStepSize( Number size ) |
Description: | |
Sets player's step size. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetStepSize]Player.SetStepSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Makes the player 1 able to step 100 units high steps |
---|---|
Used on | |
Code | player.GetByID(1):SetStepSize(100) |
Output | Player 1 is now able to step on roofs! |
Additional Notes
- Looks awkward when set to high values, since the player just teleports to the next step