New 911 Call

The 911 Call API endpoint allows you to send 911 calls from in-game directly to your dispatchers.

This API endpoint requires the standard version of Sonoran CAD or higher. For more information, see our pricing page.

This framework export handles the Emergency Call API endpoint.

function call911(caller, location, description, postal, plate, cb) {
    exports["sonorancad"].performApiRequest({
        serverId: GetConvar("sonoran_serverId", 1),
        isEmergency: true,
        caller: caller,
        location: location,
        description: description,
        metaData: {
            plate: plate,
            postal: postal
        }
    }, "CALL_911", cb);
}

Parameters

PropertyTypeDescription

caller

String

Name of the caller

location

String

Street(s) name

description

String

Call description

postal

Integer

Postal location of the call

plate

String

OPTIONAL: Plate to report in the call

cb

Function

OPTIONAL: Callback function

Last updated