Server Exports
Only one yard can be robbed at a time, so these exports apply to the whole heist.Reset
Resets the heist, clearing the active yard, contract, containers, and guards.IsRobberyInitiated
Returns whether a robbery is currently active.trueif a robbery is in progress,falseotherwise
GetActiveLocation
Returns the key of the yard being robbed, fromConfig.Locations.
location(string | nil) — e.g."port", ornilif no yard is active
