API
Work in progress...
Events
Hooks
sh-heists:sv:TimerStarted
Triggered when a heist timer begins.
Parameters:
heist_id(number) - The heist identifierrender_id(number) - The render zone identifiercaller_id(number) - Player source who started the timer
sh-heists:sv:CooldownStarted
Triggered when a heist enters cooldown phase.
Parameters:
heist_id(string) - The heist identifierrender_id(number) - The render zone identifiercaller_id(number) - Player source who triggered cooldown
sh-heists:sv:HeistReset
Triggered when a heist is completely reset.
Parameters:
heist_id(string) - The heist identifier
Example Usage:
State Bags
Player States
sh_heist
Contains the player's current heist participation status.
Structure:
Usage:
Entity States
sh_heists_npc
Contains NPC behavior and identification data.
Structure:
Global States
Timer and Cooldown States
sh-heists:id-{heist_id}:timer(boolean) - Whether heist timer is activesh-heists:id-{heist_id}:cooldown(boolean) - Whether heist is in cooldownsh-heists:cooldown_group:{group}(boolean) - Group cooldown status
Last updated