Configure
Install and configure FS-Robberies
Requirements
FS-Lib
Optional integrations:
rcore_cam(security system integration; records events on robberies)- Money frameworks:
fs-money,qb,qbx,esx,custom - CAD systems:
sonorancad,imperialcad,night_shifts,nd_mdt,lb_tablet,dusa_dispatch,custom - Inventory:
qb_inventory,ox_inventory,ps_inventory,tgiann_inventory,custom - Target:
ox_targetorqb-target - Progressbar:
ox_liborlation_ui
Installation
- Place
FS-Robberiesin yourresourcesfolder. - Ensure required dependencies are started.
- Add
ensure FS-Robberiestoserver.cfg. - Edit
config.luaand restart the resource.
General
Prop
Type
Permissions and admin tools
Prop
Type
Config.AdminVaultOpen:
Prop
Type
Framework integrations
Config.MoneyFramework, Config.CAD, Config.NotificationSystem, and Config.ProgressBar select integrations:
Prop
Type
Config.Inventory:
Prop
Type
Robbery models
Config.RobberyModels defines registers, ATMs, and safes with model hashes and offsets.
Default vaults
Config.EnableDefaultVaults toggles built-in vault doors by ID.
Robbery tuning
Config.Robbery contains settings for:
RegisterATMSafeVault
Each includes timers, rewards, cooldowns, and optional ACE perms.
Custom locations and vaults
Config.CustomLocationRobberieslets you add custom robbery points.Config.CustomVaultsdefines custom vault doors, props, and inside loot points.
Drill and display
Config.UseDrillMinigame(boolean): Enable drilling minigame.Config.DrillCamShakeandConfig.DrillOverheattune drill effects.Config.ShowTextPromptandConfig.ShowPanicTextPromptcontrol prompts.Config.TargetSystemenables target interactions.
Keybinds
Config.Keybinds:
Prop
Type
Commands
Admin:
/openvaultopens the nearest vault (ACE gated)./closevaultcloses the nearest vault.
Tools:
/fs_poly_start,/fs_poly_cancel,/fs_poly_finishfor polygon builder./fs_find_closest_vault_door_coordprints the closest vault door coord.
Exports
See Exports for server exports.
Tips
- If you enable target mode, set
Config.TargetSystem.Enabled = trueand disable text prompts. - If you enable inventory requirements, make sure item names match your inventory system.
rcore_camis optional. If you have it, FS-Robberies can record events through the security system. rcore_cam