getObjectGangTagProgress
Client-side
Reads the persistent progress byte of an acquired gang tag.
Syntax
int|false getObjectGangTagProgress(object theObject)Arguments
theObjectobjectTag object to inspect.
Returns
The current 0–255 progress, or false when the object has no gang-tag owner.
Ownership and lifecycle
Low-level ped task calls require the client that simulates the living, streamed ped. Driving tasks also require control of the streamed vehicle. They do not create lifecycle handles; the optional native-task-runtime adds server-owned route epochs and reconstruction for drive_to routes. Gang-tag ownership is resource-exclusive, survives object streaming and recreation, and is released automatically when the owner stops.
OOP aliases
object:getGangTagProgress()
Where this comes from
SOURCECLuaObjectDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaObjectDefs.cpp INTRODUCED / EXTENDED33b8fb453Read the commit and why the change was made TEST RESOURCE native-gang-tag-test test-resources/native-gang-tag-test
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native ped tasks and gang tags works →