CreateCircleColShape

From GTA Network Wiki
Jump to: navigation, search

CreateCircleColShape
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Creates a circle shaped colshape object.

Syntax

ColShape NAPI.ColShape.CreateCircleColShape(float x, float y, float range, uint dimension = NAPI.GlobalDimension);

Required Arguments

  • x: the x-position where the colshape should be placed in the world.
  • y: the x-position where the colshape should be placed in the world.
  • range: the range at which this colshape will trigger.

Optional Arguments

  • dimension: dimension of the colshape. Input type should be in uint.

This function returns a ColShape object.

Usage example(s)

NAPI.ColShape.CreateCircleColShape(x, y, range)

Changelog

Version Description
1.0 Release.

References