Studios
Humane Heisthouse-3.jpg

Commands & Exports

SoonHumane HeistQbox
PAGE 06 OF 06  ·  TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

Commands#

This resource registers no commands. Edit the raid live with /heisteditor from glitch-heistEditor.

Interactions#

Interactions use ox_target on the Chemist's ped:

Option Shown when
Show the Chemist your prototypes You carry a prototype item and are not blocked as police
Collect your payment The Chemist holds a payout for you
Ask about lab supplies Config.ChemistSupplies.enabled is true

Server exports#

Export Returns
ResearchBonus(src) The purity points the player's research bonus adds, or 0. Used by glitch-methCar.

Client exports#

None.

Events#

These server events are fired by glitch-heistEditor from the raid definition. They are not network events, so clients cannot trigger them.

Event When
glitch-humaneHeist:driveCopied The research drive is copied. Receives a table with starter and crew.
glitch-humaneHeist:held The crew got away and the payout is held. Receives the engine's ticket.

Client events sent by the server: glitch-humaneHeist:toggleSuit, glitch-humaneHeist:suitLost, glitch-humaneHeist:serum and glitch-humaneHeist:owed. They are internal to the resource.

Callbacks#

Registered with lib.callback on the server and used by the Chemist and the suit. They check the character, the police block and the distance, and one Chemist transaction runs per player at a time.

Callback Purpose
glitch-humaneHeist:sellPrototypes Sell every prototype item to the Chemist
glitch-humaneHeist:supplies List the supply offers with locked and sold-out flags
glitch-humaneHeist:buySupply Buy one offer by id
glitch-humaneHeist:collect Collect the held payout
glitch-humaneHeist:setSuit Confirm the suit toggle after the progress bar

Items#

Item Use
hazmat_suit Use to put the suit on or off. Not used up.
filter_cartridge Sold by the Chemist
methylamine_lab Drained from the lab drums
prototype_serum Use for ten minutes without stamina drain, or sell
prototype_component Sell to the Chemist
hacking_laptop Needed for the power, door, lab and elevator hacks
humane_keycard Opens the Humane Labs job

Database#

Table Contents
glitch_humane_owed Payouts the Chemist holds (citizenid, account, amount, created, ticket). Rows with account pending are an offline crew member's share.