Update functions.lua
This commit is contained in:
1 parent
4d4c45d99e
commit
66ee2d2652
1 file changed
+2
-1
@@ -6,7 +6,6 @@ local notifytype = Config.Notify
|
||||
local dispatch = Config.Dispatch
|
||||
|
||||
function progressbar(text, time, anim)
|
||||
|
||||
TriggerEvent('animations:client:EmoteCommandStart', {anim})
|
||||
if progressbartype == 'oxbar' then
|
||||
if lib.progressBar({ duration = time, label = text, useWhileDead = false, canCancel = true, disable = { car = true, move = true},}) then
|
||||
@@ -133,6 +132,8 @@ function PoliceCall(chance)
|
||||
}, {GetEntityCoords(PlayerPedId())}, "police", 3000, 11, 5 )
|
||||
elseif dispatch == 'aty' then
|
||||
exports["aty_dispatch"]:SendDispatch('Drug Sale', '420-69', 40, {'police'})
|
||||
elseif dispatch == 'qs' then
|
||||
exports['qs-dispatch']:DrugSale()
|
||||
else
|
||||
print('Congrats, You Choose 0 of the options :)')
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user