Update cocaine.lua
This commit is contained in:
1 parent
a51835a825
commit
5363c3d533
1 file changed
+42
-40
+42
-40
@@ -134,44 +134,46 @@ AddEventHandler("md-drugs:client:bagcoke", function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
exports['qb-target']:AddBoxZone("cutcokepowder",vector3(1093.01, -3194.8, -38.99),1.5, 1.75, { -- 963.37, -2122.95, 31.47
|
local cut = vector3(1093.01, -3194.8, -39.99)
|
||||||
name = "cutcokepowder",
|
local bagg = vector3(1090.70, -3195.91, -39.99)
|
||||||
heading = 11.0,
|
exports['qb-target']:AddBoxZone("cutcokepowder",vector3(cut.x, cut.y, cut.z),1.5, 1.75, { -- 963.37, -2122.95, 31.47
|
||||||
debugPoly = false,
|
name = "cutcokepowder",
|
||||||
minZ = -40,
|
heading = 11.0,
|
||||||
maxZ = -36,
|
debugPoly = true,
|
||||||
}, {
|
minZ = cut.z-1,
|
||||||
options = {
|
maxZ = cut.z+1,
|
||||||
{
|
}, {
|
||||||
type = "client",
|
options = {
|
||||||
event = "md-drugs:client:cutcokeone",
|
{
|
||||||
icon = "fas fa-sign-in-alt",
|
type = "client",
|
||||||
label = "cut up",
|
event = "md-drugs:client:cutcokeone",
|
||||||
canInteract = function()
|
icon = "fas fa-sign-in-alt",
|
||||||
if cuttingcoke == nil and baggingcoke == nil then return true end
|
label = "cut up",
|
||||||
end
|
canInteract = function()
|
||||||
},
|
if cuttingcoke == nil and baggingcoke == nil then return true end
|
||||||
},
|
end
|
||||||
distance = 2.5
|
},
|
||||||
})
|
},
|
||||||
exports['qb-target']:AddBoxZone("bagcokepowder",vector3(1090.19, -3194.8, -38.98),1.5, 1.75, { -- 963.37, -2122.95, 31.47
|
distance = 2.5
|
||||||
name = "bagcokepowder",
|
})
|
||||||
heading = 11.0,
|
exports['qb-target']:AddBoxZone("bagcokepowder",vector3(bagg.x, bagg.y, bagg.z),1.5, 1.75, { -- 963.37, -2122.95, 31.47
|
||||||
debugPoly = false,
|
name = "bagcokepowder",
|
||||||
minZ = -40,
|
heading = 11.0,
|
||||||
maxZ = -36,
|
debugPoly = true,
|
||||||
}, {
|
minZ = bagg.z-1,
|
||||||
options = {
|
maxZ = bagg.z+1,
|
||||||
{
|
}, {
|
||||||
type = "client",
|
options = {
|
||||||
event = "md-drugs:client:bagcoke",
|
{
|
||||||
icon = "fas fa-sign-in-alt",
|
type = "client",
|
||||||
label = "bagging",
|
event = "md-drugs:client:bagcoke",
|
||||||
canInteract = function()
|
icon = "fas fa-sign-in-alt",
|
||||||
if baggingcoke == nil and cuttingcoke == nil then return true end
|
label = "bagging",
|
||||||
end
|
canInteract = function()
|
||||||
},
|
if baggingcoke == nil and cuttingcoke == nil then return true end
|
||||||
},
|
end
|
||||||
distance = 2.5
|
},
|
||||||
})
|
},
|
||||||
|
distance = 2.5
|
||||||
|
})
|
||||||
end)
|
end)
|
||||||
Reference in new issue
Block a user