setObjectGangTagProgress
Applies an authoritative 0–255 progress byte to a gang tag owned by the calling resource.
Syntax
bool setObjectGangTagProgress(object theObject, int progress)Arguments
theObjectobjectTag object currently owned by the calling resource.
progressintAuthoritative progress from 0 through 255.
Returns
true when the owned tag was updated; false for invalid progress or ownership.
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.
- Use this to mirror server-validated client spray reports.
OOP aliases
object:setGangTagProgress(progress)
Where this comes from
Continue exploring
← Back to the Neon Lua API · How Native ped tasks and gang tags works →