getColShapeSize | Multi Theft Auto: Wiki Skip to content

getColShapeSize

Client-side
Server-side
Shared

Pair: setColShapeSize

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function is used to get the size of a colshape. Valid types are rectangle, cuboid and tube.

OOP Syntax Help! I don't understand this!

Syntax

float,​ float,​ float getColShapeSize ( colshape shape )
Required Arguments
  • shape: The colshape you wish to get the size of.

Returns

  • float: x
  • float: y
  • float: z

Returns up to 3 floats depending on the colshape type (see below), false if invalid arguments were passed.

Code Examples

shared
TODO