- Documentation
- Server functions
- getColShapeRadius
Function
getColShapeRadius
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))