Events & Commands

sendDispatchAlert

This export allows you to do send custom dispatch alerts to our distpach system e.g ( bank robberies, shops robberies etc.. )

How to use:

ARGS:

type - "ems_backup", "emsDown", "civilianDown", title - Your dispatch tittle description - Your dispatch description urgency - "urgent", "danger", "normal" coords - vector3 coordinates

Example:

exports['jpr-emsSystem']:sendDispatchAlert("civilianDown", "MY DISPATCH", "DISPATCH MESSAGE", "normal", GetEntityCoords(PlayerPedId()))

Last updated