opensource/client/client.lua
This file handles zone creation, drawtext, evidence, stress, and the minigame callback.Minigame Callback
Each robbery step triggers theprojectx-bobcatheist-gabz:client:Minigames callback with the step name.
You can return
true unconditionally inside any step block to skip that minigame entirely.| Step | Minigame Resource | Function |
|---|---|---|
C4Entrance | lightsout | StartLightsOut |
EntranceKeypad | SN-Hacking | Thermite |
C4Security | lightsout | StartLightsOut |
SecurityFingerprint | utk_fingerprint | Start (event) |
SearchDesk | ox_lib | skillCheck |
SearchBelongings | ox_lib | skillCheck |
ComputerDesk | SN-Hacking | Thermite |
SmokeHallway | lightsout | StartLightsOut |
MainKeypad | SN-Hacking | MemoryCards |
Fusebox | ox_lib | skillCheck |
SurveillanceRoomKeypad | SN-Hacking | Thermite |
Computer | SN-Hacking | MemoryCards |
C4Vault | lightsout | StartLightsOut |
VaultPanel | SN-Hacking | ColorPicker |
Crate | ox_lib | skillCheck |
opensource/server/server.lua
Hooks
SuccessfulStep(source, step)
SuccessfulStep(source, step)
Called whenever a player successfully completes a robbery step. Step names are listed in
Config.BobcatSteps inside config/config.lua.FailedStep(source, step)
FailedStep(source, step)
Called whenever a player fails a robbery step.
InitialCheck(Interaction)
InitialCheck(Interaction)
Called before a player can start the robbery. Return
false to block them.RobberyResetHook()
RobberyResetHook()
Called whenever the heist resets.
