[Release] FiveM Advanced Active Officers

Advanced Active Officers System

Features:

  • ESX Support
  • Callsign Including [No DB]
  • Draggable
  • Compact Style
  • Easy installation, ready to play!

Commands:

  • /callsign [Update my callsign]
  • /plist [0 - Draggable] [1 - Toggle]

Last Updates:

  • Callsign [Auto refresh]
  • fxmanifest.lua

Download Now

Preview:

21 Likes

Great release first off and this is cross compatible right? ESX and Non?

The code shows its ESX

I now see that lol

Thx bro😁

Good work! Maybe update to fxmanifest? Just a tip!^^

Also, any way to update callsigns without restarting script/server? ty^^

+rep מאוד גיי

Callsign Update issue Fixed

Trigger this on the line server.lua line: 19

TriggerEvent(“nv:officers:refresh”)

+rep +rep +rep +rep +rep +rep +rep +rep +rep

1 Like

:slight_smile:tnx

1 Like

Callsign FIxed, download again

Great release .
Keep it up
+rep

Amazing. I adapted this to work with my vMenu server, interfacing with the /onduty command from SEM_InteractionMenu.

1 Like

Would you mind sharing that? Many don’t use ESX.

My specific implementation edits other scripts but I wouldn’t mind taking the time later this morning(it’s currently 3:30 am) to submit a PR to the GitHub repo with a version that has a config option to make it operate without ESX. It would be up to you to edit it to ensure players have the necessary privileges though, I’ll see what I can whip up to add at least some permission checking. It would ultimately be up to @NevoG whether to accept that PR or not though.

go for it

I couldn’t sleep, so instead, I programmed. I just submitted a PR that adds:

  • A standalone mode
  • A permissions system for that standalone mode
  • Chat suggestions for commands
    It includes two different permissions system options; discord, and ace_perms. Each permissions system is heavily configurable.
2 Likes

It doesn’t show player names. Nothing have been changed in the script.

Is there any way to put this in a non esx server?

1 Like

function GetName(source)

local _source = source

local identifier = ESX.GetPlayerFromId(_source).identifier

local result = MySQL.Sync.fetchAll('SELECT * FROM users WHERE identifier = @identifier',

{

    ['@identifier'] = identifier

})

if result[1] ~= nil and result[1].firstname ~= nil and result[1].lastname ~= nil then

     return result[1].firstname .. ' ' .. result[1].lastname

else

    return ""

end

end

2 Likes