getColPolygonPoints | Multi Theft Auto: Wiki Skip to content

getColPolygonPoints

Client-side
Server-side
Shared

This function is used to get all bound points in a colshape polygon.

OOP Syntax Help! I don't understand this!

Syntax

table|false getColPolygonPoints ( colshape shape )
Required Arguments
  • shape: The colshape polygon you wish to get the points of.

Returns

  • table|false: points

Returns a table of coordinates, each coordinate being a table containing the x and y position of a bound point, false if invalid arguments were passed.

Code Examples

Script Example Missing

Function getColPolygonPoints needs a script example. Help out by writing one.

Contribution guidelines