Using your or our Exports
We will be using a custom export for this tutorial
Creating our callout (ps-dispatch/server/sv_dispatchcodes.lua)
["methRunReport"] = {
displayCode = '10-77',
description = "Drug Run In Progress",
radius = 0,
recipientList = { 'police' },
blipSprite = 514,
blipColour = 32,
blipScale = 1.5,
blipLength = 2,
sound = "Lose_1st",
sound2 = "GTAO_FM_Events_Soundset",
offset = "false",
blipflash = "false"
},Creating the Export (ps-dispatch/client/cl_events.lua)
Creating an event with our export
A full script!
Last updated