- big push
This commit is contained in:
1 parent
b5297bd109
commit
5db30458eb
26 files changed
+114
-104
No files matched your search
@@ -17,7 +17,7 @@ local function spawn()
|
||||
title = itemInfo.label,
|
||||
description = '$'..v,
|
||||
icon = itemInfo.image,
|
||||
action = function()
|
||||
onSelect = function()
|
||||
TriggerServerEvent('md-drugs:server:purchaseGoods', k)
|
||||
end
|
||||
}
|
||||
|
||||
+9
-7
@@ -1,5 +1,7 @@
|
||||
local cuttingcoke = nil
|
||||
local baggingcoke = nil
|
||||
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Cocaine ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Cocaine
|
||||
|
||||
local function CutCoke(coords, offset, rotation)
|
||||
@@ -58,7 +60,7 @@ local function BagCoke(coords, offset, rotation)
|
||||
Bridge.Anim.RequestDict(animDict, 500)
|
||||
local animDuration = GetAnimDuration(animDict, animName) * 1000
|
||||
local ped = PlayerPedId()
|
||||
local scenePos, sceneRot = vector3(coords.x + offset.x, coords.y + offset.y,coords.z + offset.z), rotation
|
||||
local scenePos, sceneRot = vector3(coords.x + offset.x, coords.y + offset.y,coords.z + offset.z +0.03), rotation
|
||||
local scenes = {
|
||||
{
|
||||
{ hash = "bkr_prop_coke_cutblock_01", animName = "break_weigh_"..ver.."box01"},
|
||||
@@ -115,7 +117,7 @@ local function BagCoke(coords, offset, rotation)
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.MakePowder) do
|
||||
Bridge.Target.AddBoxZone('cocaplant'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('cocaplant'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('coke.targetMakePow'),
|
||||
icon = Bridge.Language.Locale('coke.targetMakePowIcon'),
|
||||
@@ -132,12 +134,12 @@ for k, v in pairs (locations.MakePowder) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.CuttingCoke) do
|
||||
Bridge.Target.AddBoxZone('cutcoke'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('cutcoke'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('coke.targetCutCoke'),
|
||||
icon = Bridge.Language.Locale('coke.targetCutCokeIcon'),
|
||||
action = function()
|
||||
if not itemCheck('baking_soda') then return end
|
||||
if not itemCheck('bakingsoda') then return end
|
||||
CutCoke(v.loc, v.offset, v.rotation)
|
||||
TriggerServerEvent("md-drugs:server:cutcokeone", k)
|
||||
end,
|
||||
@@ -151,7 +153,7 @@ for k, v in pairs (locations.CuttingCoke) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.BaggingCoke) do
|
||||
Bridge.Target.AddBoxZone('bagcoke'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('bagcoke'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('coke.targetBagCoke'),
|
||||
icon = Bridge.Language.Locale('coke.targetBagCokeIcon'),
|
||||
@@ -170,7 +172,7 @@ for k, v in pairs (locations.BaggingCoke) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.cokeTele) do
|
||||
Bridge.Target.AddBoxZone('coke_tele'..k, v.inside, vector3(v.l, v.w, 2.0), v.inside.w or 180.0,{
|
||||
Bridge.Target.AddBoxZone('coke_tele'..k, v.inside, v.size, v.inside.w or 180.0,{
|
||||
{
|
||||
icon = Bridge.Language.Locale('coke.teleOutIcon'),
|
||||
label = Bridge.Language.Locale('coke.teleOut'),
|
||||
@@ -182,7 +184,7 @@ for k, v in pairs (locations.cokeTele) do
|
||||
end
|
||||
}
|
||||
})
|
||||
Bridge.Target.AddBoxZone('coke_teleout'..k, v.outside, vector3(v.l, v.w, 2.0), v.outside.w or 180.0,{
|
||||
Bridge.Target.AddBoxZone('coke_teleout'..k, v.outside, v.size, v.outside.w or 180.0,{
|
||||
{
|
||||
icon = Bridge.Language.Locale('coke.teleInIcon'),
|
||||
label = Bridge.Language.Locale('coke.teleIn'),
|
||||
|
||||
+4
-3
@@ -1,12 +1,13 @@
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Crack ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Crack
|
||||
|
||||
for k, v in pairs (locations.makecrack) do
|
||||
Bridge.Target.AddBoxZone('makeCrack'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('makeCrack'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('crack.targetMake'),
|
||||
icon = Bridge.Language.Locale('crack.makeIcon'),
|
||||
action = function()
|
||||
if not itemCheck('baking_soda') then return end
|
||||
if not itemCheck('bakingsoda') then return end
|
||||
if not minigame() then
|
||||
TriggerServerEvent("md-drugs:server:failcrackone", k)
|
||||
return
|
||||
@@ -23,7 +24,7 @@ for k, v in pairs (locations.makecrack) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.bagcrack) do
|
||||
Bridge.Target.AddBoxZone('bagCrack'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('bagCrack'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('crack.targetBag'),
|
||||
icon = Bridge.Language.Locale('crack.bagIcon'),
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
local dealer = {}
|
||||
local buyer = nil
|
||||
|
||||
repeat
|
||||
Wait(100)
|
||||
until GlobalState.MDDrugsLocations.Deliveries.dealers ~= nil
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Deliveries.dealers ~= nil
|
||||
|
||||
local function SpawnDealer()
|
||||
if #dealer >= 1 then
|
||||
|
||||
+6
-5
@@ -1,6 +1,7 @@
|
||||
|
||||
local herointable = false
|
||||
local dirty = false
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Heroin ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Heroin
|
||||
|
||||
local function createLabKit(coord, head)
|
||||
@@ -12,7 +13,7 @@ local function createLabKit(coord, head)
|
||||
icon = Bridge.Language.Locale('heroin.cookIcon'),
|
||||
label = Bridge.Language.Locale('heroin.targetCook'),
|
||||
action = function()
|
||||
if not itemCheck('empty_vial') then return end
|
||||
if not itemCheck('emptyvial') then return end
|
||||
|
||||
if not minigame() then
|
||||
dirty = true
|
||||
@@ -61,7 +62,7 @@ local function createLabKit(coord, head)
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.dryplant) do
|
||||
Bridge.Target.AddBoxZone('dryHeroin'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('dryHeroin'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('heroin.targetDry'),
|
||||
icon = Bridge.Language.Locale('heroin.dryIcon'),
|
||||
@@ -77,12 +78,12 @@ for k, v in pairs (locations.dryplant) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.cutheroinone) do
|
||||
Bridge.Target.AddBoxZone('cutHeroin'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('cutHeroin'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('heroin.targetCutHeroin'),
|
||||
icon = Bridge.Language.Locale('heroin.cutIcon'),
|
||||
action = function()
|
||||
if not itemCheck('baking_soda') then return end
|
||||
if not itemCheck('bakingsoda') then return end
|
||||
if not progressbar(Bridge.Language.Locale('heroin.pbCutHeroin')) then return end
|
||||
TriggerServerEvent("md-drugs:server:cutheroin", k)
|
||||
end,
|
||||
@@ -132,7 +133,7 @@ Bridge.Callback.Register("md-drugs:client:setheroinlabkit", function()
|
||||
end)
|
||||
|
||||
for k, v in pairs (locations.fillneedle) do
|
||||
Bridge.Target.AddBoxZone('fillNeedle'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('fillNeedle'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('heroin.targetFill'),
|
||||
icon = Bridge.Language.Locale('heroin.fillNeedleIcon'),
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
|
||||
local started = false
|
||||
local hit = 0
|
||||
local leanCar = nil
|
||||
repeat Wait(100) until GlobalState.MDDrugsRecipes.Lean ~= nil
|
||||
local location = GlobalState.MDDrugsLocations.Lean
|
||||
|
||||
local function SpawnCarPedChase(loc)
|
||||
@@ -28,7 +28,7 @@ local function SpawnCarPedChase(loc)
|
||||
started = false
|
||||
return
|
||||
end
|
||||
|
||||
Bridge.Notify.SendNotify(Bridge.Language.Locale('lean.chaseStarted'), 'success')
|
||||
SetPedIntoVehicle(pilot2, leanCar, 1)
|
||||
FreezeEntityPosition(driver, true)
|
||||
FreezeEntityPosition(pilot2, true)
|
||||
@@ -77,7 +77,7 @@ for k, v in pairs (location.SyrupVendor) do
|
||||
icon = Bridge.Language.Locale('lean.startMissionIcon'),
|
||||
label = Bridge.Language.Locale('lean.startMission'),
|
||||
action = function()
|
||||
SpawnCarPedChase()
|
||||
SpawnCarPedChase(k)
|
||||
end,
|
||||
canInteract = function()
|
||||
if not handleGang(v.gang) then return false end
|
||||
|
||||
+5
-4
@@ -1,5 +1,6 @@
|
||||
local tableout = false
|
||||
local dirtylsd = false
|
||||
repeat Wait(100) until GlobalState.MDDrugsRecipes.LSD ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.LSD
|
||||
|
||||
|
||||
@@ -22,7 +23,7 @@ local function createLabKit(coord, head)
|
||||
TriggerServerEvent("md-drugs:server:failheating")
|
||||
return
|
||||
end
|
||||
if not progressbar(Bridge.Language.Locale('lsd.heating'), 7000, 'uncuff') then return end
|
||||
if not progressbar(Bridge.Language.Locale('lsd.heating'), 7000) then return end
|
||||
TriggerServerEvent("md-drugs:server:heatliquid")
|
||||
end,
|
||||
canInteract = function()
|
||||
@@ -86,7 +87,7 @@ local function createLabKit(coord, head)
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.lysergicacid) do
|
||||
Bridge.Target.AddBoxZone('lysergicacid'..k,v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('lysergicacid'..k,v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('lsd.targetLys'),
|
||||
icon = Bridge.Language.Locale('lsd.targetLysIcon'),
|
||||
@@ -104,7 +105,7 @@ for k, v in pairs (locations.lysergicacid) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.diethylamide) do
|
||||
Bridge.Target.AddBoxZone('diethylamide'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('diethylamide'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('lsd.targetDie'),
|
||||
icon = Bridge.Language.Locale('lsd.targetDieIcon'),
|
||||
@@ -122,7 +123,7 @@ for k, v in pairs (locations.diethylamide) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.gettabs) do
|
||||
Bridge.Target.AddBoxZone('gettabs'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('gettabs'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('lsd.targetBuyTab'),
|
||||
icon = Bridge.Language.Locale('lsd.targetBuyTabIcon'),
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
local badTrip = 100
|
||||
repeat Wait(100) until GlobalState.MDDrugsRecipes.Mescaline ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Mescaline
|
||||
local function AlienEffect()
|
||||
CreateThread(function()
|
||||
@@ -15,7 +16,7 @@ end
|
||||
|
||||
|
||||
for k, v in pairs (locations.DryOutMescaline) do
|
||||
Bridge.Target.AddBoxZone('dryoutMesc'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0,{
|
||||
Bridge.Target.AddBoxZone('dryoutMesc'..k, v.loc, v.size, v.loc.w or 180.0,{
|
||||
{
|
||||
label = Bridge.Language.Locale('mesc.targetDry'),
|
||||
icon = 'fa-solid fa-temperature-high',
|
||||
|
||||
+8
-7
@@ -1,4 +1,5 @@
|
||||
local amonia, tray, heated, active, trays, startedmeth, methVan = false, false, false, false, nil, false, nil
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Meth ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Meth
|
||||
--- meth heist
|
||||
|
||||
@@ -306,7 +307,7 @@ end
|
||||
|
||||
|
||||
for k, v in pairs (locations.CookMeth) do
|
||||
Bridge.Target.AddBoxZone('cookMeth'..k, v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('cookMeth'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('meth.targetCook'),
|
||||
icon = Bridge.Language.Locale('meth.targetCookIcon'),
|
||||
@@ -335,7 +336,7 @@ for k, v in pairs (locations.CookMeth) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.MethDials) do
|
||||
Bridge.Target.AddBoxZone('adjustMethDials'..k, v.loc, vector3(v.l, v.w, 1.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('adjustMethDials'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
name = 'adjustdials',
|
||||
icon = Bridge.Language.Locale('meth.targetHeatIcon'),
|
||||
@@ -352,7 +353,7 @@ for k, v in pairs (locations.MethDials) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.MethSmash) do
|
||||
Bridge.Target.AddBoxZone('smashMeth'..k, v.loc, vector3(v.l, v.w, 1.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('smashMeth'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
name = 'smash',
|
||||
icon = Bridge.Language.Locale('meth.targetSmashIcon'),
|
||||
@@ -369,7 +370,7 @@ for k, v in pairs (locations.MethSmash) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.MethTele) do
|
||||
Bridge.Target.AddBoxZone('meth_tele'..k, v.inside, vector3(v.l, v.w, 1.0), v.rot, {
|
||||
Bridge.Target.AddBoxZone('meth_tele'..k, v.inside, v.size, v.rot, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('meth.teleOutIcon'),
|
||||
label = Bridge.Language.Locale('meth.teleOut'),
|
||||
@@ -381,7 +382,7 @@ for k, v in pairs (locations.MethTele) do
|
||||
end
|
||||
}
|
||||
})
|
||||
Bridge.Target.AddBoxZone('meth_teleout'..k, v.outside, vector3(v.l, v.w, 1.0), v.rot, {
|
||||
Bridge.Target.AddBoxZone('meth_teleout'..k, v.outside, v.size, v.rot, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('meth.teleInIcon'),
|
||||
label = Bridge.Language.Locale('meth.teleIn'),
|
||||
@@ -403,7 +404,7 @@ RegisterCommand('offset', function()
|
||||
end)
|
||||
|
||||
for k, v in pairs (locations.MethEph) do
|
||||
Bridge.Target.AddBoxZone('stealMethEph'..k, v.loc, vector3(v.l, v.w, 1.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('stealMethEph'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('meth.targetStealEPH'),
|
||||
icon = Bridge.Language.Locale('meth.targetStealEPHIcon'),
|
||||
@@ -418,7 +419,7 @@ for k, v in pairs (locations.MethEph) do
|
||||
})
|
||||
end
|
||||
for k, v in pairs (locations.MethAce) do
|
||||
Bridge.Target.AddBoxZone('stealMethAce'..k, v.loc, vector3(v.l, v.w, 1.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('stealMethAce'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
label = Bridge.Language.Locale('meth.targetStealACE'),
|
||||
icon = Bridge.Language.Locale('meth.targetStealACEIcon'),
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
local carryPackage = nil
|
||||
local onMission = false
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Oxy ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Oxy
|
||||
local pdAlert = 90
|
||||
local vehicle = nil
|
||||
@@ -46,7 +47,7 @@ local function getRoute()
|
||||
end
|
||||
|
||||
for k, v in pairs(locations.OxyPayForTruck) do
|
||||
Bridge.Target.AddBoxZone('oxyTruckPur' ..k , v.loc, vector3(v.l, v.w, 2.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('oxyTruckPur' ..k , v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('oxy.targetPayIcon'),
|
||||
label = Bridge.Language.Locale('oxy.targetPay'),
|
||||
|
||||
+13
-2
@@ -1,3 +1,4 @@
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Pharma ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.Pharma
|
||||
|
||||
Bridge.Callback.Register("md-drugs:client:prescriptionpad", function( data, op)
|
||||
@@ -11,7 +12,17 @@ Bridge.Callback.Register("md-drugs:client:prescriptionpad", function( data, op)
|
||||
{type = 'select', title = Bridge.Language.Locale('pharma.input.title2'), options = op}
|
||||
})
|
||||
if not input[1] then return end
|
||||
if not progressbar(Bridge.Language.Locale('pharma.write'), 4000, 'notepad') then return end
|
||||
if not progressbar(Bridge.Language.Locale('pharma.write'), 4000, {
|
||||
dict = 'missheistdockssetup1clipboard@base',
|
||||
clip = 'base',
|
||||
flag = 49,
|
||||
prop = {
|
||||
model = 'prop_notepad_01',
|
||||
bone = 18905,
|
||||
pos = {0.1, 0.02, 0.03},
|
||||
rot = { -90.0, 0.0, 0.0}
|
||||
}
|
||||
}) then return end
|
||||
return {who = input[1], what = input[2]}
|
||||
end)
|
||||
|
||||
@@ -22,7 +33,7 @@ end)
|
||||
|
||||
|
||||
for k, v in pairs (locations.FillPrescription) do
|
||||
Bridge.Target.AddBoxZone('pharma' ..k , v.loc,vector3(v.l, v.w, 1.0), v.loc.w or 180, {
|
||||
Bridge.Target.AddBoxZone('pharma' ..k , v.loc,v.size, v.loc.w or 180, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('pharma.fillIcon'),
|
||||
label = Bridge.Language.Locale('pharma.targetFill'),
|
||||
|
||||
+4
-3
@@ -1,7 +1,8 @@
|
||||
local exploded, drying = false, false
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Weed ~= nil and GlobalState.MDDrugsRecipes.Weed ~= nil
|
||||
local locations, recipes = GlobalState.MDDrugsLocations.Weed, GlobalState.MDDrugsRecipes.Weed
|
||||
for k, v in pairs (locations.WeedDry) do
|
||||
Bridge.Target.AddBoxZone('weed_dry'..k, v.loc, vector3(v.l or 1.0, v.w or 1.0, 1.0), v.loc.w or 180.0, {
|
||||
Bridge.Target.AddBoxZone('weed_dry'..k, v.loc, v.size, v.loc.w or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('weed.targetDryIcon'),
|
||||
label = Bridge.Language.Locale('weed.targetDry'),
|
||||
@@ -36,7 +37,7 @@ for k, v in pairs (locations.WeedDry) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.WeedTele) do
|
||||
Bridge.Target.AddBoxZone('weed_tele'..k, v.inside, vector3(v.l or 1.0, v.w or 1.0, 1.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('weed_tele'..k, v.inside, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('weed.teleportOutIcon'),
|
||||
label = Bridge.Language.Locale('weed.teleportOut'),
|
||||
@@ -45,7 +46,7 @@ for k, v in pairs (locations.WeedTele) do
|
||||
end
|
||||
}
|
||||
})
|
||||
Bridge.Target.AddBoxZone('weed_teleout'..k, v.outside, vector3(v.l or 1.0, v.w or 1.0, 1.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('weed_teleout'..k, v.outside, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('weed.teleportInIcon'),
|
||||
label = Bridge.Language.Locale('weed.teleportIn'),
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
local prop = nil
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.Whippit ~= nil and GlobalState.MDDrugsRecipes.Whippit ~= nil
|
||||
local function animation(color)
|
||||
local coords = GetEntityCoords(PlayerPedId())
|
||||
Bridge.Anim.RequestDict('mp_player_intdrink')
|
||||
|
||||
+5
-4
@@ -1,4 +1,5 @@
|
||||
local xtcpress = false
|
||||
repeat Wait(100) until GlobalState.MDDrugsLocations.XTC ~= nil
|
||||
local locations = GlobalState.MDDrugsLocations.XTC
|
||||
|
||||
local function getRecipeList(tbl, type)
|
||||
@@ -75,7 +76,7 @@ Bridge.Callback.Register('md-drugs:client:setpress', function(xtcData)
|
||||
end)
|
||||
|
||||
for k, v in pairs(locations.mdp2p) do
|
||||
Bridge.Target.AddBoxZone('mdp2p'..k, v.loc, vector3(v.l, v.w, 2.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('mdp2p'..k, v.loc, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('xtc.mdp2pIcon'),
|
||||
label = Bridge.Language.Locale('xtc.targetStealMDP2P'),
|
||||
@@ -91,7 +92,7 @@ for k, v in pairs(locations.mdp2p) do
|
||||
})
|
||||
end
|
||||
for k, v in pairs(locations.isosafrole) do
|
||||
Bridge.Target.AddBoxZone('isosafrole'..k, v.loc, vector3(v.l, v.w, 2.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('isosafrole'..k, v.loc, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('xtc.isosafroleIcon'),
|
||||
label = Bridge.Language.Locale('xtc.targetStealIsosafrole'),
|
||||
@@ -108,7 +109,7 @@ for k, v in pairs(locations.isosafrole) do
|
||||
end
|
||||
|
||||
for k, v in pairs(locations.rawxtcloc) do
|
||||
Bridge.Target.AddBoxZone('xtcraw'..k, v.loc, vector3(v.l, v.w, 2.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('xtcraw'..k, v.loc, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('xtc.rawIcon'),
|
||||
label = Bridge.Language.Locale('xtc.targetRaw'),
|
||||
@@ -177,7 +178,7 @@ for k, v in pairs(locations.xtcpress) do
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.stamp) do
|
||||
Bridge.Target.AddBoxZone('xtcstamp'..k, v.loc, vector3(v.l, v.w, 2.0), v.rot or 180.0, {
|
||||
Bridge.Target.AddBoxZone('xtcstamp'..k, v.loc, v.size, v.rot or 180.0, {
|
||||
{
|
||||
icon = Bridge.Language.Locale('xtc.stampIcon'),
|
||||
label = Bridge.Language.Locale('xtc.targetStamp'),
|
||||
|
||||
Reference in new issue
Block a user