Reference
Commands and exports
uniqers-bunkerPage 24 of 275 topicsUpdated recently
01Player commands
02Guard commands
Every player and guard command can be renamed or turned off in Config.Commands (config/config.lua). The Turkish names (korumatakip, gorevbirak ...) work too and can be removed there.
03Staff commands
04Client exports
lua
-- start placing a solar panelexports['uniqers-bunker']:PlaceSolarPanel() -- show a notification through the bunker's notify settingexports['uniqers-bunker']:Notify('Hello', 'success', 5000)05Server exports
lua
-- sound a bunker's alarm (needs the Security upgrade unless Config.Alarm.requireSecurityUpgrade = false)local rang = exports['uniqers-bunker']:TriggerBunkerAlarm(bunkerId, 'robbery', 'Label') -- sound the alarm of every bunker at an entranceexports['uniqers-bunker']:TriggerBunkerAlarmAtLocation(locationId, 'robbery', 'Label') exports['uniqers-bunker']:StopBunkerAlarm(bunkerId)local active = exports['uniqers-bunker']:IsBunkerAlarmActive(bunkerId) -- ox_inventory item export of the solar panel (see Items and inventory)exports['uniqers-bunker']:useSolarPanel(event, item, inventory)TriggerBunkerAlarm returns true when the alarm went off (or is already ringing) and false without the Security upgrade or when the alarm is turned off.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord