[Standalone & ESX] [Release] Flash Badge Script

I am not sure what you mean by this?

@adminSTRP @porterslug Hey, sorry for the confusion you have to remove the quotes so for example

add_ace group.police flashBadge allow

Later today I will update the comment next to the acePermissionName line to make it more clear.

i dont know what happen . still cant use the badge :frowning:

Can you send me the line you have for the ace permissions (in your server.cfg)?

add_ace group.police flashBadge allow

same as you ask me to do

I put this three in my server.cfg

add_ace group.police flashBadge allow
add_ace group.swat flashBadge allow
add_ace group.fbi flashBadge allow

Restarted my server - changed the key ingame (because “g” was used): nothing happens
Set me inside policejob, get on duty: nothing happens

2021-05-27 19_10_52-● server.cfg - Visual Studio Code

Any ideas why?

1 Like

Very nice release! I got my custom badge model in, reworked, and ready to go. Amazing work!

1 Like

how to make it works ?

Is group.police configured and assigned to you?

If you don’t already have it set to true, set the useCommand config to true and try typing /badge in game and let me know if it says you don’t have permission to use it.

yes already assigned but still say that i dont have permission

I did also try to type badge as command - nothing happens…

Are you receiving any errors in your client or server console?

No, and thats confusing. I uploaded the whole script for a test without any changes.
I tried all 3 Jobs -no badge, no error, not anything. Its frustrating

2 Likes

same goes to me

That is a cool release!

1 Like

Known Issue: This script currently will not work with ESX. I plan on implementing ESX support soon.

1 Like

How do I use it with ace permissions

See my post [Standalone] [Release] Flash Badge Script - #18 by porterslug

check PR for esx