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