Skip to main content

State Bags

Replicated state exposed by Wasabi Gang Creator (wasabi_gangs).


Player state bags​

KeyTypeDescription
wg_cuffedbooleanCuffed by the gang Handcuff action.
wg_headbagbooleanWearing a headbag.
wg_escortnumber|falseServer ID of the player escorting this player, or false.
wg_sellingbooleanCorner drug selling is active.
gangtable|nilESX and OX only: { name, grade, label } of the player's organization when frameworkProjection is enabled.

On Qbox and QBCore, organizations are mirrored into the framework gang system instead (PlayerData.gang) when frameworkProjection is enabled.

local cuffed = Player(serverId).state.wg_cuffed == true