added codem dispatch support
This commit is contained in:
1 parent
fc5b1f5164
commit
bf1471e238
1 file changed
+9
@@ -335,10 +335,19 @@ function PoliceCall(chance)
|
|||||||
exports["aty_dispatch"]:SendDispatch('Drug Sale', '420-69', 40, {'police'})
|
exports["aty_dispatch"]:SendDispatch('Drug Sale', '420-69', 40, {'police'})
|
||||||
elseif dispatch == 'qs' then
|
elseif dispatch == 'qs' then
|
||||||
exports['qs-dispatch']:DrugSale()
|
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
|
else
|
||||||
print('Congrats, You Choose 0 of the options :)')
|
print('Congrats, You Choose 0 of the options :)')
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user