Skip to content

renderScriptImportantArea

Client-side

Available in Neon, not standard MTA

Submits GTA's SCM important-area visual: three pulsing additive red cylinders with native ground correction.

Syntax

bool renderScriptImportantArea(Vector3 center, float radiusX, float radiusY [, int localId])

Arguments

centerVector3

Finite center position.

radiusXfloat

Positive X radius.

radiusYfloat

Positive Y radius.

localIdintoptional

Optional caller-local identity mixed with the resource identity.

Returns

true after a valid frame submission; false for invalid dimensions, missing resource context, or unavailable marker service.

Ownership and lifecycle

The important-area primitive only draws for one frame. Call it from onClientPreRender for as long as it should stay visible.

Important behavior
  • This is visual only and creates no collision shape.

Example

addEventHandler("onClientPreRender", root, function()
renderScriptImportantArea(Vector3(2100.48, -1649.14, 12.47), 4, 4, 1)
end)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →