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