Garry's Mod Wiki

Garry's Mod Wiki

  Vector, Vector Player:GetHullDuck()

Description

Gets the bottom base and the top base size of the player's crouch hull.

Returns

1 Vector
Player's crouch hull bottom base size.
2 Vector
Player's crouch hull top base size.

Example

Prints bases' size of the crouch hull of all players.

for _, ply in ipairs( player.GetAll() ) do local bottom, top = ply:GetHullDuck() print(bottom) print(top) end
Output:
-16.000000 -16.000000 0.000000 16.000000 16.000000 36.000000

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...