ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getColShapeRadius

Function

getColShapeRadius

ServerCollision shapesIdentical to MTA:SA

Returns the radius of a sphere, circle or tube zone.

Syntax

float getColShapeRadius(colshape shape)

Arguments

shapecolshape
The zone.

Returns

The radius, or false.

Example

local zone = createColCircle(0, 0, 25)
outputDebugString(getColShapeRadius(zone))

See also