Skip to main content

Exports

Server

GetGlobalCooldown

Get the global cooldown in seconds

local cooldown = exports.loaf_bankrobbery:GetGlobalCooldown()

GetCooldown

Get the cooldown for a specific bank in seconds

Arguments:

  • bankId: number - The bank id
local cooldown = exports.loaf_bankrobbery:GetCooldown(bankId)