Adding a custom dispatch
go to vrs-ambulance/client/modules/util.lua and find the Dispatch function. It should be on the first line
function Dispatch(location)
local loc = location.xyz
[...]Find the second end from the end of the function
text = "Person Is Injured",
time = (3 * 60 * 1000),
}
}
)
end -- This one!
endadd elseif Config.Dispatch == "custom" then on top of the end
It should look like this
time = (3 * 60 * 1000), -- 3 minutos
}
}
)
elseif Config.Dispatch == "custom" then
-- Add your custom dispatch here
end -- This one!
endThen, you just need to add exports or an event from your dispatch. Also, don't forget to set Config.Dispatch to custom
Not working? Join our discord and we'll help you
Last updated

