Garry's Mod Wiki

Player:GetHullDuck

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 k,v in pairs(player.GetAll()) do local bottom, top = v:GetHullDuck() print(bottom) print(top) end
Output:
-16.000000 -16.000000 0.000000 16.000000 16.000000 36.000000

Page Links


Special Pages


Wikis

?

Render Time: 68ms

DB GetPage 9
Generate Html 10
SaveChanges (1) 34
Render Body 0
Render Sidebar 13