Garry's Mod Wiki

Player:GetHull

  Vector, Vector Player:GetHull()

Description

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

Returns

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

Example

Prints bases' size of the hull of all players.

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