TD-DutySystem with 911 calls

Introducing, TD-DutySystem. This resource is a simple Duty System, which should be utilised for vMenu servers, allowing you to set jobs, the jobs that are available are BCSO, LSPD, SAHP & SAFR, but following the examples, you can easily add more! Using this script you will very easily be able to create so much more! Using the job export, you can easily restrict certain things to jobs, things such as door lock scripts, to modify it to only allow on duty LEO to be able to unlock PD Doors etc! This script also had a 911 script in it!

Below is some previews:

911:

911 from the LEO Perspective:

Export with usage examples:

Config:

Config = {
    ServerName = "Thomas Developments",
    UseAcePerms = false,   
    DiscordLog911 = true,
    Webhook911Call = "Webhook_Here",
    Hide911WhenAccepted = false   -- Set to true if you want the notification to disappear when they draw a route to it.
}

Ace Perms Setup:

Here is a list of the ace perms, that you will need to allow in your server.cfg =
BCSO Job = Thomas.Onduty.BCSO 
SAHP Job = Thomas.Onduty.SAHP 
LSPD Job = Thomas.Onduty.LSPD 
SAFR Job = Thomas.Onduty.SAFR

Video Preview:

Requirements:
Ox Lib

Download
Github

Checkout my other stuff!
Vehicle Whitelist Script - Clean UI
County EMS [FREE]

4 Likes

While making the call (which lasts a few seconds) can it be modified to last 2 minutes and in those 2 minutes be able to steal, play mini robbery games and other things? Or does doing something else cancel the call?

because it occurs to me that in the server rules, make people have to use this script before stealing and give them 2 minutes of time to steal before the alert is sent

instant of typing nearest postal code , should be easier if i just check waypoint , its faster , most server not using postalcode map

You can remove the postal section. The location is still grabbed regardless

It is open sourced, feel free to do what you like with it.

good job, i like it

1 Like

Much appreciated :raised_hands:t4:

1 Like