Duty System — Common Errors & FAQ
Have a question or encounter an issue while running fs_dutysystem? Check the common questions and error solutions below.
❓ Q: "Attempt to index a nil value (field 'FWB')" error on server start?
Cause
This error occurs because fs_bridge is missing, not started, or not running on your server before fs_dutysystem initializes.
Solution
- Ensure
fs_bridgeis installed in yourresources/[fs]/folder alongsidefs_dutysystem. - In your
server.cfg, ensureox_liband[fs]category folder in proper order:luaensure ox_lib -- make sure to ensure all resources above this to make it work properly ensure [fs] -- ensure it as last resource - Update
fs_bridgeto the latest version.
❓ Q: Admin command /dutymenu says you don't have permission?
Cause
Your player's framework admin group, ACE permission, job role, or identifier is not included in the permissions list inside fs_dutysystem/config/Config.lua.
Solution
- Open
fs_dutysystem/config/Config.lua. - Locate
config.Admin.permission. - Add your framework admin group (e.g.
['admin'] = true), ACE permission (['fs_dutysystem'] = true), or player identifier. - Save the file and restart
fs_dutysystem.
❓ Q: Target options do not appear on station peds (or key prompts don't show)?
Cause
config.target in fs_dutysystem/config/Config.lua is misconfigured for your server interaction method.
Solution
- Open
fs_dutysystem/config/Config.lua. - Set
config.target = trueif using a target system (ox_targetorqb-target). - Set
config.target = falseif you prefer TextUI 3D key prompts ([E]key interaction). - Restart
fs_dutysystem.
❓ Q: Station NPC peds are taking damage, dying, or being flagged by anticheat?
Cause
config.Ped_Invincible in fs_dutysystem/config/Config.lua is set incorrectly for your server setup or anticheat resource.
Solution
- Open
fs_dutysystem/config/Config.lua. - To prevent peds from being killed by players, ensure
config.Ped_Invincible = true. - If your server anticheat flags invincible entities as a violation, set
config.Ped_Invincible = false. - Restart
fs_dutysystem.
💬 Need More Help?
If your issue or question isn't listed here, feel free to open a ticket in our official Discord community:
