ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. createColTube

Function

createColTube

Server and clientCollision shapesIdentical to MTA:SA

Creates a cylinder-shaped collision zone: a circle of radius radius from height z up by height metres.

Syntax

colshape createColTube(float fX, float fY, float fZ, float fRadius, float fHeight)

Arguments

fXfloat
Base centre X.
fYfloat
Base centre Y.
fZfloat
Base Z.
fRadiusfloat
Radius in metres.
fHeightfloat
Height in metres.

Returns

The new zone.

Example

local tower = createColTube(1544, -1353, 0, 20, 330)

See also