exports / triggers
Server Exports
Export
Result
exports['brutal_bank_robbery']:GetCurrentRobberyCount()
Number of currently active bank robberies
For example:
local count = exports['brutal_bank_robbery']:GetCurrentRobberyCount()
print("Active robberies:", count)Client Export
Export
Result
exports['brutal_bank_robbery']:IsPlayerInRobbery()
Returns if the player is in a robbery and which bank index they are in.
For example:
local inRobbery, bankIndex = exports['brutal_bank_robbery']:IsPlayerInRobbery()
if inRobbery then
print("You are robbing bank index:", bankIndex)
else
print("You are not in any robbery.")
endLast updated
Was this helpful?
