setColShapeRadius | Multi Theft Auto: Wiki Skip to content

setColShapeRadius

Client-side
Server-side
Shared

Pair: getColShapeRadius

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

OOP Syntax Help! I don't understand this!

Syntax

bool setColShapeRadius ( colshape shape, float radius )
Required Arguments
  • shape: The colshape you wish to change the radius of.
  • radius: The radius you want to set.

Returns

  • bool: result

Returns true if the radius was changed, or false if invalid arguments were passed.

Code Examples

Script Example Missing

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

Contribution guidelines