opensource/client/client.lua
Each robbery step triggers theprojectx-cashexchangerobbery-k4mb1: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 |
|---|---|---|
Ventilation | bl_ui | WaveMatch |
Prop | bl_ui | Progress |
Search | bl_ui | CircleProgress |
Computer | boii_minigames | chip_hack |
Safe | boii_minigames | safe_crack |
Keypad | bl_ui | PrintLock |
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.CashExchangeSteps 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.
