Admin CMD
Admins can manage weapon access directly in-game with easy-to-use commands backed by an interactive UI via ox_lib.
Command: /wlist
/wlist
Whitelist a blacklisted weapon for a specific player or a job group.
Usage:
When you type /wlist
, an ox_lib input dialog will pop up:
Target Type – Select either:
Player ID
: Add weapon access to a specific playerJob Name
: Whitelist a job (e.g.police
,army
)
Player ID or Job Name – Input the actual value (e.g.,
3
orpolice
)Weapon – Dropdown of blacklisted weapons (e.g.
WEAPON_SMG
,WEAPON_ASSAULTRIFLE
)
Only users with the correct Ace permission group (e.g. admin
) can use this command.
Command: /wlremove
/wlremove
Revoke a previously whitelisted weapon from a player or job.
Behavior:
Choose to remove by
Player ID
orJob Name
Select the weapon to remove, or choose
All Weapons
to clear the entire whitelistIf the weapon was not found, it tells you. If removed, it confirms.
Designed to prevent accidental or fake removals — accurate and secure.
Last updated