Skip to content

setObjectGangTagProgress

Client-side

Available in Neon, not standard MTA

Applies an authoritative 0–255 progress byte to a gang tag owned by the calling resource.

Syntax

bool setObjectGangTagProgress(object theObject, int progress)

Arguments

theObjectobject

Tag object currently owned by the calling resource.

progressint

Authoritative 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.

Important behavior
  • Use this to mirror server-validated client spray reports.

OOP aliases

  • object:setGangTagProgress(progress)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →