Skip to main content

Server Exports

Reset

Resets the heist, unlocking the location and clearing any active robbery state.
exports['projectx-cashexchangerobbery-k4mb1']:Reset()

IsRobberyInitiated

Returns whether a robbery is currently active.
local active = exports['projectx-cashexchangerobbery-k4mb1']:IsRobberyInitiated()
Returns
  • active (boolean) - true if a robbery is in progress, false otherwise
Example
local active = exports['projectx-cashexchangerobbery-k4mb1']:IsRobberyInitiated()
if active then
    print("A robbery is currently in progress")
end