HEX
HexscriptsPhone AppsDispatch App

Exports

This section lists all client-side and server-side exports in this script. Exports can be called from other scripts to interact with this script functionality.

Note

If you need additional exports for your implementation, please open a ticket on our Discord server.

Client Exports

No client exports are available at the moment.

Server Exports

createDispatch

You can create a dispatch from another script by calling the createDispatch export. Below is an example of how to use it.

RegisterCommand('createDispatch', function(source, args)
    exports["hex_lb_dispatchapp"]:createDispatch({
        job = "police",
        coords = vector3(100.0, 0, 0),
        message = "Dispatch Server Side",
        playerId = source,
        rpName = "Server"
    })
end)

Prop

Type