Перейти к содержанию

Colshapes::newRectangle

Материал из RAGE MP Wiki Archive

Creates a rectangle (square) ColShape 2D plane

Parameters

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

Syntax

Shared

<syntaxhighlight lang="javascript"> mp.colshapes.newRectangle(x, y, width, height, dimension) </syntaxhighlight>

See Also