Colshapes::newRectangle

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Creates a rectangle (square) ColShape 2D plane

Parameters

  • x: Number in float
  • y: Number in float
  • width: Number in float
  • height: Number in float

Syntax

Shared
mp.colshapes.newRectangle(x, y, width, height)

See Also