Colshapes::newRectangle

From RAGE Multiplayer Wiki
Revision as of 17:12, 17 May 2019 by RoboN1X (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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