Script to whitelist commands

Hi all,

i am trying to find a script or someone who can help me make one that will whitelist the following commands for police.

/lockdown

/inprogress

/onhold

/resetpcd

How do i go about this? i have been searching for 2 days and cant find anything.

Any specific framework? if ESX, then this is pretty simple, and same for standard ES.

Just use the integrated ACE permissions. Apply a restricted bool for the commands.

is there a script that is made that i can use? as i have no idea how to code
and i am using esx

RegisterCommand('a-command', function(source, args, raw)
    -- run code
end, true)

Requires the ace:

add_ace identifier.license:alicensehere... "command.a-command" allow

sorry that is rubbish to me, is there a script that is already made for what i am looking for? i have no idea how to code

If you can’t understand that then maybe this isn’t for you.

1 Like