[Standalone & ESX] [Release] Flash Badge Script

I have added an option config.ESXJobs so you can add multiple jobs.

Hello, how did you replace this sticker

Could you explain, how i can put all 3 jobs inside?

In the config.lua under ESXJobs you just have to make a new line and write the job name in quotes.

when i enable esx i get a bunch of errors but with it on false it works?

Got it, looking into it now.

1 Like

maybe hes getting same errors like me but I am getting this whenever pressing the keybind or command doesnt work and with esx off it doesnt work even with the ace configured

Same errors for me ;/

@Banjojajao I am going to work on this later today and will have an updated version released.

@porterslug @Banjojajao I have updated it and fixed the issue.

Hey Sir, i dont know why, but it has an error again ;(
See Screen below

im so stupid lmao I updated it try now

NOW it works like a charme :wink:

Many thx for your work

1 Like

Maybe im stupid but I cannot get this to work D: Is there anyway I can get some help?

Put this three lines in your server.cfg and set ech job that should be allowed to use it.

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

Set use.esx in main.lua to true

Load all up to yur server, restart and here we go. Dont forget “start flashBadge” to put it in your server.cfg

2 Likes

How to change badge to toggle or holding mode when press G. Now it shows only 1sec.

I will work on adding an option for this after my next release.

2 Likes

how did you change the asset file

This is how it looks, if you combine different scripts and a little script for TouchPortal

How did you do this