getMarkerLimitStats
Client-side
Returns MTA marker-streamer usage plus GTA 3D marker, checkpoint, and direction-arrow capacities.
Syntax
table getMarkerLimitStats()Returns
A table containing streamedMarkers, streamedMarkerLimit, allocated3DMarkers, marker3DLimit, marker3DProcessLimit, activeCheckpoints, checkpointLimit, checkpointProcessLimit, directionArrowLimit, and directionArrowProcessLimit.
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
- The three process-limit fields report the live active scan bounds introduced by commit 8e79f5674; they are not performance measurements.
Where this comes from
SOURCECLuaMarkerDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaMarkerDefs.cpp INTRODUCED / EXTENDED8e79f5674Read the commit and why the change was made TEST RESOURCE marker-limit-test test-resources/marker-limit-test
RELATED NEON APIS
Read the system guide →