Colshapes::newRectangle

From RAGE Multiplayer Wiki
Revision as of 13:10, 14 May 2017 by Kemperrr (talk | contribs)

Creating colshape, square in 2D plane

Parameters

  • x: Number
  • y: Number
  • width: Float
  • height: Float

Syntax

Server-Side
mp.colshapes.newRectangle(x, y, width, height)