GetColPolygonHeight

From Multi Theft Auto: Wiki
Revision as of 21:27, 25 January 2021 by Zangomangu (talk | contribs) (Created page with "{{Server client function}} __NOTOC__ {{New feature/item|3.0160|1.5.8|20807|This function is used to get the height of an existing colshape polygon. By def...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is used to get the height of an existing colshape polygon. By default, a colshape polygon is infinitely tall.

Syntax

table getColPolygonHeight ( colshape shape )  

OOP Syntax Help! I don't understand this!

Method: colshape:getHeight(...)


Required Arguments

Returns

Returns a table containing two floats, indicating the floor and ceiling of the colshape height, false if invalid arguments were passed.

Example

Accessories-text-editor.png Script Example Missing Function GetColPolygonHeight needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


Requirements

This template will be deleted.

See Also