Add files via upload
This commit is contained in:
1 parent
c0a0e4271e
commit
722963ed38
10 files changed
+22
-24
No files matched your search
+1
-1
@@ -121,7 +121,7 @@ CreateThread(function()
|
||||
local options2 = {
|
||||
{ type = "client", event = "md-drugs:client:bagcoke", icon = "fas fa-sign-in-alt", label = "bagging", canInteract = function()
|
||||
if baggingcoke == nil and cuttingcoke == nil then return true end end }, }
|
||||
if Config.OxTarget then
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addBoxZone({coords = vector3(1093.17, -3195.74, -39.19 -1), size = vec3(1,1,1), options = options})
|
||||
exports.ox_target:addBoxZone({coords = vector3(1093.17, -3195.74, -39.19 -1), size = vec3(1,1,1), options = options2})
|
||||
else
|
||||
|
||||
@@ -144,4 +144,4 @@ RegisterNetEvent('md-drugs:client:cornerselling', function()
|
||||
Notify('You Cant Sell Air', 'error')
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
@@ -25,7 +25,7 @@ local dispatch = Config.Dispatch
|
||||
test = true
|
||||
TriggerEvent('animations:client:EmoteCommandStart', {"c"})
|
||||
end)
|
||||
Wait(time + 50)
|
||||
Wait(time + 200)
|
||||
if test then return true else Wait(400) if test then return true end end
|
||||
else
|
||||
print"dude, it literally tells you what you need to set it as in the config"
|
||||
|
||||
+2
-3
@@ -135,7 +135,6 @@ RegisterNetEvent("md-drugs:client:setheroinlabkit")
|
||||
AddEventHandler("md-drugs:client:setheroinlabkit", function()
|
||||
if herointable then
|
||||
Notify(Lang.Heroin.tableout, 'error')
|
||||
TriggerServerEvent('md-drugs:server:getheroinlabkitback')
|
||||
else
|
||||
local PedCoords = GetEntityCoords(PlayerPedId())
|
||||
if not progressbar(Lang.Heroin.table, 4000, 'uncuff') then TriggerServerEvent('md-drugs:server:getheroinlabkitback') return end
|
||||
@@ -170,8 +169,8 @@ local PedCoords = GetEntityCoords(PlayerPedId())
|
||||
local options = {
|
||||
{ event = "md-drugs:client:cleanheroinlabkit", icon = "fas fa-box-circle-check", label = "Clean It", data = dirtylabkitheroin}
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(dirtylabkitheroin, { options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(dirtylabkitheroin,options )
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(dirtylabkitheroin, {options = options})
|
||||
end
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ CreateThread(function()
|
||||
local options = {
|
||||
{ type = "client", label = "Get Task", icon = "fas fa-eye", event = "md-drugs:client:getsyruplocationtobuy", distance = 2.0},
|
||||
}
|
||||
if Config.OxTarget then
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(SyrupLocation, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(SyrupLocation, { options = options, distance = 2.0})
|
||||
|
||||
+6
-7
@@ -21,8 +21,8 @@ local Ped = "g_m_y_famdnf_01"
|
||||
local options = {
|
||||
{ type = "client", label = "Buy LSD Lab Kit", icon = "fas fa-eye", event = "md-drugs:client:buylabkit", distance = 2.0}
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(tabdealer, {options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(tabdealer, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(tabdealer, {options = options, distance = 2.0})
|
||||
end
|
||||
@@ -60,15 +60,14 @@ else
|
||||
{ event = "md-drugs:client:maketabpaper", icon = "fas fa-box-circle-check", label = "Dab Sheets", data = labkit, },
|
||||
{ event = "md-drugs:client:getlabkitback", icon = "fas fa-box-circle-check", label = "Pick Up", data = labkit, canInteract = function() if tableout then return true end end},
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(labkit, {options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(labkit, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(labkit, {options = options})
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
RegisterNetEvent("md-drugs:client:getlabkitback", function(data)
|
||||
if not progressbar(Lang.lsd.tablepack, 4000, 'uncuff') then return end
|
||||
DeleteObject(data.data)
|
||||
@@ -92,8 +91,8 @@ RegisterNetEvent("md-drugs:client:heatliquid", function(data)
|
||||
local options = {
|
||||
{ event = "md-drugs:client:cleanlabkit", icon = "fas fa-box-circle-check", label = "Clean It", data = dirtylabkit },
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(dirtylabkit, { options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(dirtylabkit, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(dirtylabkit, { options = options})
|
||||
end
|
||||
|
||||
+2
-2
@@ -76,8 +76,8 @@ if tray then
|
||||
|
||||
}
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(bucket, {options = optionsox})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(bucket, optionsox)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(bucket, {options = options, distance = 2.0})
|
||||
end
|
||||
|
||||
+4
-4
@@ -23,8 +23,8 @@ RegisterNetEvent("md-drugs:Client:getoxylocation", function()
|
||||
local options = {
|
||||
{ event = "md-drugs:client:getfromtrunk", icon = "fas fa-box-circle-check", label = "Get Package"},
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(oxycar, {options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(oxycar, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(oxycar, {options = options, distance = 2.0})
|
||||
end
|
||||
@@ -66,8 +66,8 @@ RegisterNetEvent("md-drugs:client:getoxylocationroute", function()
|
||||
local options = {
|
||||
{ type = "client", label = "Talk To Buyer", icon = "fas fa-eye", event = "md-drugs:client:giveoxybox", ped = oxybuyer},
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(oxybuyer, {options = options})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(oxybuyer, options)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(oxybuyer, {options = options, distance = 2.0})
|
||||
end
|
||||
|
||||
+2
-2
@@ -157,8 +157,8 @@ exports['qb-target']:AddBoxZone("weeddry"..k,v,1.5, 1.75, {name = "weeddry"..k,h
|
||||
return true end end,
|
||||
}
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(weedplant, { options = optionsox })
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(weedplant, optionsox )
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(weedplant, {options = options})
|
||||
end
|
||||
|
||||
+2
-2
@@ -53,8 +53,8 @@ RegisterNetEvent("md-drugs:client:setpress", function(type)
|
||||
if xtcpress then return true end end
|
||||
},
|
||||
}
|
||||
if Config.OxTarget then
|
||||
exports.ox_target:addLocalEntity(press, { options = optionsox})
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:addLocalEntity(press, optionsox)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(press, { options = options})
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user