Merge pull request #70 from Tater1987/hushhushmotherfucker
Hushhushmotherfucker
This commit is contained in:
3 files changed
+11
-8
No files matched your search
+3
-2
@@ -136,7 +136,7 @@ for k, v in pairs (locations.gettabs) do
|
||||
label = ps.lang('lsd.targetBuyTab'),
|
||||
icon = 'fa-solid fa-hand-holding-dollar',
|
||||
action = function()
|
||||
TriggerEvent("md-drugs:client:buytabs", k)
|
||||
TriggerServerEvent("md-drugs:server:gettabpaper", k)
|
||||
end,
|
||||
canInteract = function()
|
||||
if not handleGang(v.gang) then return false end
|
||||
@@ -182,4 +182,5 @@ ps.registerCallback("md-drugs:client:setlsdlabkit", function()
|
||||
createLabKit(loc, head)
|
||||
return true, loc
|
||||
end
|
||||
end)
|
||||
|
||||
end)
|
||||
+3
-2
@@ -14,7 +14,7 @@ local function SpawnMethCarPedChase()
|
||||
ps.notify(ps.lang('meth.alreadyChasing'),'error')
|
||||
else
|
||||
startedmeth = true
|
||||
ps.callback('md-drugs:server:RegisterMeth')
|
||||
ps.callback('md-drugs:server:registerMeth')
|
||||
|
||||
ps.requestModel("journey", Config.RequestModelTime)
|
||||
ps.requestModel("a_m_m_hillbilly_02", Config.RequestModelTime)
|
||||
@@ -406,4 +406,5 @@ for k, v in pairs (locations.Methace) do
|
||||
end
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
end
|
||||
+5
-4
@@ -91,8 +91,8 @@ RegisterServerEvent('md-drugs:server:getmeth', function(num)
|
||||
ps.notify(src, ps.lang('Catches.notIn'), "error")
|
||||
return
|
||||
end
|
||||
if not ps.craftItem(src, methRecipes.meth.bag.bags) then
|
||||
verifyHas(src, methRecipes.meth.bag.bags.take)
|
||||
if not ps.craftItem(src, methRecipes.bag.bags) then
|
||||
verifyHas(src, methRecipes.bag.bags.take)
|
||||
return
|
||||
end
|
||||
end)
|
||||
@@ -123,9 +123,9 @@ ps.registerCallback('md-drugs:server:startcook', function(source, num)
|
||||
ps.notify(src, ps.lang('Catches.notIn'), "error")
|
||||
return false
|
||||
end
|
||||
local recipe = ps.craftItem(src, methRecipes.meth.cook.heat)
|
||||
local recipe = ps.craftItem(src, methRecipes.cook.heat)
|
||||
if not recipe then
|
||||
verifyHas(src, methRecipes.meth.cook.heat.take)
|
||||
verifyHas(src, methRecipes.cook.heat.take)
|
||||
return false
|
||||
end
|
||||
return true
|
||||
@@ -142,3 +142,4 @@ ps.registerCallback('md-drugs:server:registerMeth', function(source)
|
||||
return true
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user