renderScriptImportantArea
Client-side
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
centerVector3Finite center position.
radiusXfloatPositive X radius.
radiusYfloatPositive Y radius.
localIdintoptionalOptional 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
SOURCECLuaMarkerDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaMarkerDefs.cpp INTRODUCED / EXTENDED3dc633a89Read the commit and why the change was made RELATED CATEGORY HARNESS marker-limit-test Category-level coverage · test-resources/marker-limit-test
RELATED NEON APIS
Read the system guide →