Exports And Configure
Export Functions And Configurations
Exports All Dispatch List
You can pull and use the entire dispatch list this way. You can use it on both client and server.
local DispatchList = exports["kibra-dispatch"]:GetDispatchAlerts()
-- The table structure is as follows:
local TableExports = {
[1] = {
address = 'Vinewood',
gender = 'Male',
code = '10-31',
type = 'shooting',
weapon = 'Pistol',
coords = vec3(115.566, 677.155, 30.1),
eventVehicleData = {
vehicleClassName = 'Sports',
vehicleColorName = 'Metal Black',
vehiclePlate = '77FKAA'
},
responders = {"Alex Hirsch", "Kenan Birkan"}, -- Alert Responders
witnesses = 10 -- Witnesses
}
}Custom Alert
Creating a custom notification is as follows:
Other Exports
Last updated