Dispatch

The dispatch part in the MDT is only works for gunshots as it is. You have to implement the dispatch to your scripts by yourself according to the sample of the dispatch export.

exports["gfx-mdt"]:AddDispatch("Gunshot Alert", -- title
    coords, -- vector3 or {x=x, y=y, z=z}
    {"Shots fired.", "Weapon: Desert Eagle", "Shooter Gender: Male"}, -- you can add more texts
    "red", -- this will be the color of dispatch (red, orange, white)
)

Last updated