GetColPolygonHeight
From Multi Theft Auto: Wiki
This function is used to get the height of an existing colshape polygon.
By default, a colshape polygon is infinitely tall.
Syntax
float, float getColPolygonHeight ( colshape shape )
OOP Syntax Help! I don't understand this!
- Method: colshape:getHeight(...)
Required Arguments
- shape: The colshape polygon
Returns
Returns two floats, indicating the floor and ceiling of the colshape height, false if invalid arguments were passed.
Example
![]() |
Script Example Missing Function GetColPolygonHeight needs a script example, help out by writing one. |
Before submitting check out Editing Guidelines Script Examples. |
Requirements
Minimum supported server | 1.5.8-9.20807 |
---|---|
Minimum supported client | 1.5.8-9.20807 |
Note: Using this function/event requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.5.8-9.20807" client="1.5.8-9.20807" />
See Also
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColShapeRadius
- getColShapeSize
- getElementColShape
- getElementsWithinColShape
- isElementWithinColShape