From bf1471e2387fdcaed90f432103835cbc53673756 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:26:46 -0800 Subject: [PATCH] added codem dispatch support --- client/functions.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/functions.lua b/client/functions.lua index e05349d..2407a09 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -335,10 +335,19 @@ function PoliceCall(chance) exports["aty_dispatch"]:SendDispatch('Drug Sale', '420-69', 40, {'police'}) elseif dispatch == 'qs' then exports['qs-dispatch']:DrugSale() + elseif dispatch == 'codem' then + local Data = { + type = 'Drug Sale', + header = 'Someone Selling Drugs', + text = 'Hurry up and save the community', + code = '420-69', + } + exports['codem-dispatch']:CustomDispatch(Data) else print('Congrats, You Choose 0 of the options :)') end else + return end end