Skip to main content

Phone Implementation - lb_phone

T
Written by Tim Plate
Updated today

In file visn_are/script/helpers/c_functions.lua around the EmergencyDispatch function edit this

elseif emergencyDispatch.phoneConfiguration == "lb-phone" then
for _, v in pairs(emergencyDispatch.receivers) do
local message = TranslateText("DISTRESS_MESSAGE") .. " Location: ".. coords
exports["lb-phone"]:SendCompanyMessage(v, message)
exports["lb-phone"]:SendCompanyCoords(v, coords)
end
else

Did this answer your question?