Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.projectx.gg/llms.txt

Use this file to discover all available pages before exploring further.

Server Exports

Reset

Resets the heist, unlocking the bank and clearing any active robbery state. Useful for admin commands or external integrations.
exports['projectx-sandybankrobbery-prompt']:Reset()

IsRobberyInitiated

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