Revision Difference
Player:GetHull#527812
<function name="GetHull" parent="Player" type="classfunc">
<description>Gets the bottom base and the top base size of the player's hull.</description>
<realm>Shared</realm>
<rets>
<ret name="" type="Vector">Player's hull bottom base size</ret>⤶
<ret name="" type="Vector">Player's hull top base size</ret>⤶
<ret name="" type="Vector">Player's hull bottom base size.</ret>⤶
<ret name="" type="Vector">Player's hull top base size.</ret>⤶
</rets>
</function>
<example>
<description>Prints bases' size of the hull of all players.</description>
<code>
for i, ply in ipairs( player.GetAll() ) do
for _, ply in ipairs( player.GetAll() ) do
local bottom, top = ply:GetHull()
print(bottom)
print(top)
end
</code>
<output>
⤶
```⤶
```⤶
-16.000000 -16.000000 0.000000
16.000000 16.000000 72.000000
```
⤶
</output>
⤶
</example> </output>
</example>