Player.SetHull

From GMod Wiki

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



Example

DescriptionMakes all players have very thin hulls (can walk in very thin corridors)
Used onNewerServer.png
Code
for _, v in pairs( player.GetAll() ) do
   v:SetHull( Vector( -4, -4, 0 ), Vector( 4, 4, 72 ) )
end
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox