Commands#
The resource registers no commands.
Exports#
The resource registers no client or server exports. It calls the exports of the optional resources listed below.
Exports it calls#
| Resource | Export | Used for |
|---|---|---|
glitch-minigames |
StartBalanceGame, StartHoldZoneGame |
Temperature and pressure rounds. |
glitch-criminaltablet |
GetContact, GetContactPed, HasMetContact, GetTrust, AddTrust, GetJobCompletionCount, HasAdminBypass, LogActivity |
Chemist contact, trust, unlock gate, staff bypass and the Stats tab entry for each cook. |
glitch-xpSystem |
AddPlayerXP, GetEffect |
Chemistry XP and perks. |
ps-dispatch |
CustomAlert |
Police alert from the cook's client. |
glitch-economy |
LogCrime |
Crime ledger entries. |
glitch-admin |
Log |
Exploit log. |
glitch-drugSales |
CousinHint |
Buyer hint after a cook. |
glitch-humaneHeist |
ResearchBonus |
Higher purity cap. |
State bag#
The server sets a methCook entity state bag on the cooking RV with range (plume distance) and thermal (heat column distance, 0 when Config.Thermal.enabled is false). Other resources can read it to tell whether an RV is cooking. It is cleared when the cook ends.
Usable items#
The tray (Config.Cook.tray) and the battery (Config.Battery.item) are registered as usable items on the server.
Events and callbacks#
The net events and lib.callback names under the glitch-methCar: and glitch-methCar:kit: prefixes carry the cook, tray, battery and Chemist flow between client and server. The server validates them, and they are not an integration API. Use the state bag above to hook in.