Skip to main content

Server Exports

All exports require a valid location key from Config.Stores.

Reset

exports['projectx-ammunationrobbery-default']:Reset('PillboxHill')
Returnstrue if the location exists and was reset successfully

IsRobberyInProgress

local active = exports['projectx-ammunationrobbery-default']:IsRobberyInProgress('PillboxHill')
Returnstrue if a robbery is in progress at that location, false otherwise

GetActiveRobberyCount

local count = exports['projectx-ammunationrobbery-default']:GetActiveRobberyCount()
Returnscount (number) total active robberies