setObjectGangTagAlpha
Sets a logical 0–255 Grove-material alpha on a streamed native gang-tag object, or clears the opt-in override.
Syntax
bool setObjectGangTagAlpha(object theObject, int|false alpha)Arguments
theObjectobjectStreamed object using model 1490 or 1524 through 1531.
alphaint|false0..255, or false to relinquish the override.
Returns
true when the supported streamed object's material state was updated; false otherwise.
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.
- Reapply after stream-in or native object recreation.
OOP aliases
object:setGangTagAlpha(alpha)
Where this comes from
Continue exploring
← Back to the Neon Lua API · How Native ped tasks and gang tags works →