State Bags
Replicated state exposed by Wasabi Gang Creator (wasabi_gangs).
Player state bags
| Key | Type | Description |
|---|---|---|
wg_cuffed | boolean | Cuffed by the gang Handcuff action. |
wg_headbag | boolean | Wearing a headbag. |
wg_escort | number|false | Server ID of the player escorting this player, or false. |
wg_selling | boolean | Corner drug selling is active. |
gang | table|nil | ESX 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