getColShapeRadius | Multi Theft Auto: Wiki Skip to content

getColShapeRadius

Client-side
Server-side
Shared

Pair: setColShapeRadius

This function is used to get the radius of a colshape. Valid types are circle, sphere and tube.

OOP Syntax Help! I don't understand this!

Syntax

float|false getColShapeRadius ( colshape shape )
Required Arguments
  • shape: The colshape you wish to get the radius of.

Returns

  • float|false: radius

Returns a float containing the radius of the colshape, false if an invalid colshape was passed.

Code Examples

Script Example Missing

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

Contribution guidelines