Using ps-dispatch (v2)

Using ps-dispatch (v2) with custom alerts for mz-resources requires amending the ps-dispatch files themselves.

  1. Ensure you follow the instructions from ps-dispatch to ensure that the dispatch system is operating in your server:

  • Download ZIP

  • Make sure your qb-core is fully updated to the latest version.

  • Drag and drop resource into your server files

  • Start resource through server.cfg

  • Drag and drop sounds folder into interact-sound\client\html\sounds

  • Configure your language

  • Restart your server.

  1. In shared/config.lua look for "Config.blips" (by default it commences on line 46) and add the following custom blip configurations anywhere within (easiest to put them at the end before the final }):

    --MZ-RESOURCES--
    ----------------
    ['atmdevice'] = {
        radius = 0,
        sprite = 486,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['atmboom'] = {
        radius = 0,
        sprite = 622,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['containerrobbery'] = {
        radius = 0,
        sprite = 479,
        color = 15,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['fibheist'] = {
        radius = 0,
        sprite = 486,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['fibboom'] = {
        radius = 0,
        sprite = 622,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mdmalab'] = {
        radius = 300,
        sprite = 80,
        color = 44,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mdmatheft'] = {
        radius = 300,
        sprite = 51,
        color = 44,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['methlab'] = {
        radius = 0,
        sprite = 521,
        color = 2,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mz-armourguard-hit'] = {
        radius = 0,
        sprite = 67,
        color = 25,
        scale = 1.8,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mz-drugrun'] = {
        radius = 300,
        sprite = 10,
        color = 44,
        scale = 1.8,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mz-fishing'] = {
        radius = 500,
        sprite = 10,
        color = 49,
        scale = 0.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mz-need4speed'] = {
        radius = 0,
        sprite = 198,
        color = 1,
        scale = 1.8,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['mz-storerobbery-register'] = {
        radius = 0,
        sprite = 628,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['mz-storerobbery-safe'] = {
        radius = 0,
        sprite = 350,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['mz-storerobbery-liquor'] = {
        radius = 0,
        sprite = 350,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['oxyrunping'] = {
        radius = 0,
        sprite = 469,
        color = 52,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = true,
        flash = true
    },
    ['weaponraid'] = {
        radius = 120,
        sprite = 576,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
    ['yachtraidplant'] = {
        radius = 0,
        sprite = 455,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = false
    },
    ['yachtraidboom'] = {
        radius = 0,
        sprite = 303,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'GTAO_FM_Events_Soundset',
        offset = false,
        flash = true
    },
  2. In client/alerts.lua, add the following custom exports. If you add them at the end they will be added after like 753:

  1. If you are unable to set up the above, join: https://discord.gg/CqNYvE3CkA and a copy of the dispatch with the above mz-resources edits has been uploaded and will be maintained.

Last updated