Colshapes::newCuboid

From RAGE Multiplayer Wiki

Shared
Function

 JavaScript


Creates a cuboid ColShape in 3D space

Parameters

  • x: Number in float
  • y: Number in float
  • z: Number in float
  • width: Number in float
  • depth: Number in float
  • height: Number in float
  • dimension: Number (optional)

Syntax

mp.colshapes.newCuboid(x, y, z, width, depth, height, dimension)

See Also