Exports

Client

SendAlert

The SendAlert export allows external scripts to send dispatch alerts to specific departments in the nn_departments system.

Usage

exports['nn_departments']:SendAlert({
    message = "Alert message here",
    code = "10-52",
    coords = vector3(x, y, z),
    jobs = {"police", "sheriff"},
    blipData = {
        sprite = 153,
        color = 6,
        scale = 0.9
    },
    time = 180000,
    icon = "fas fa-ambulance",
    metadata = {
        model = "SULTAN",
        color = "Red",
        plate = "ABC123",
        speed = "120 kmh"
    }
})

Server

SetDuty

The SetDuty export allows external scripts to change the duty status of an officer.

Usage

Last updated