Player.ResetHull

From GMod Wiki

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



Example

DescriptionMakes all players have their default hulls.
Used onNewerServer.png
Code
for _, v in pairs( player.GetAll() ) do
   v:ResetHull()
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox