Merge pull request #71 from Tater1987/hushhushmotherfucker
Few items I forgotten earlier. I believe this is all I had today.
This commit is contained in:
5 files changed
+46
-8
No files matched your search
@@ -370,6 +370,33 @@ for k, v in pairs (locations.MethSmash) do
|
||||
})
|
||||
end
|
||||
|
||||
for k, v in pairs (locations.MethTele) do
|
||||
ps.boxTarget('meth_tele'..k, v.inside, {length = v.l, width = v.w, heading = v.rot}, {
|
||||
{
|
||||
icon = 'fa-solid fa-door-open',
|
||||
label = ps.lang('coke.teleOut'),
|
||||
action = function()
|
||||
SetEntityCoords(PlayerPedId(), v.outside)
|
||||
end,
|
||||
canInteract = function()
|
||||
return handleGang(v.gang)
|
||||
end
|
||||
}
|
||||
})
|
||||
ps.boxTarget('meth_teleout'..k, v.outside, {length = v.l, width = v.w, heading = v.rot}, {
|
||||
{
|
||||
icon = 'fa-solid fa-door-closed',
|
||||
label = ps.lang('coke.teleIn'),
|
||||
action = function()
|
||||
SetEntityCoords(PlayerPedId(), v.inside)
|
||||
end,
|
||||
canInteract = function()
|
||||
return handleGang(v.gang)
|
||||
end
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
RegisterCommand('offset', function()
|
||||
local pos = GetEntityCoords(PlayerPedId())
|
||||
Wait(4000)
|
||||
@@ -408,3 +435,4 @@ for k, v in pairs (locations.Methace) do
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
+7
-2
@@ -55,7 +55,11 @@ for k, v in pairs(locations.OxyPayForTruck) do
|
||||
if not paid then return end
|
||||
local oxycar = CreateVehicle("burrito3",v.truckSpawn.x, v.truckSpawn.y, v.truckSpawn.z, v.truckSpawn.w, true, false)
|
||||
|
||||
exports[Config.Fuel]:SetFuel(oxycar, 100.0)
|
||||
if Config.Fuel == "ox_fuel" then
|
||||
Entity(oxycar).state.fuel = 100.0
|
||||
else
|
||||
exports[Config.Fuel]:SetFuel(oxycar, 100.0)
|
||||
end
|
||||
TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(oxycar))
|
||||
ps.notify(ps.lang('oxy.keys'), 'success')
|
||||
onMission = true
|
||||
@@ -91,4 +95,5 @@ for k, v in pairs(locations.OxyPayForTruck) do
|
||||
end
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
end
|
||||
+4
-2
@@ -152,7 +152,9 @@ Lang.meth = {
|
||||
targetStealACE = 'Steal Acetone',
|
||||
stealingACE = 'Stealing Acetone',
|
||||
notOnRun = 'You Are Not On A Meth Run',
|
||||
onCooldown = 'You Are On A Cooldown'
|
||||
onCooldown = 'You Are On A Cooldown',
|
||||
teleIn = 'Enter the Lab',
|
||||
teleOut = 'Exit the Lab',
|
||||
}
|
||||
|
||||
Lang.oxy = {
|
||||
@@ -247,4 +249,4 @@ Lang.merchant = {
|
||||
targetOpen = 'Open Merchant Menu',
|
||||
}
|
||||
|
||||
return Lang
|
||||
return Lang
|
||||
+4
-2
@@ -18,7 +18,7 @@ local methLocs = {
|
||||
MethEph = { -- get ephedrine
|
||||
{loc = vector3(3559.86, 3673.9, 28.13), l = 1.0, w = 1.0, rot = 45.0, gang = ""},
|
||||
},
|
||||
Methace = { -- get acetone
|
||||
MethAce = { -- get acetone
|
||||
{loc = vector3(3535.41, 3661.05, 28.12), l = 1.0, w = 1.0, rot = 45.0, gang = ""},
|
||||
},
|
||||
MethHeist = {
|
||||
@@ -36,7 +36,7 @@ local methLocs = {
|
||||
|
||||
local methRecipes = {
|
||||
cook = {
|
||||
heat = {take = {ephedrine = 1, acetone = 1}, give = {}}
|
||||
heat = {take = {ephedrine = 1, acetone = 1}, give = {}} --Missing item
|
||||
},
|
||||
bag = {
|
||||
bags = {take = {empty_weed_bag = 5}, give = {methbags = 5} }
|
||||
@@ -143,3 +143,5 @@ ps.registerCallback('md-drugs:server:registerMeth', function(source)
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
+3
-2
@@ -3,7 +3,7 @@ ps = exports.ps_lib:init()
|
||||
ps.loadLangs("uwu")
|
||||
|
||||
Config.respawnTime = 100 -- Seconds
|
||||
Config.Fuel = "LegacyFuel" -- type the name of script you use i.e. ps-fuel, cdn-fuel, LegacyFuel
|
||||
Config.Fuel = "LegacyFuel" -- type the name of script you use i.e. ps-fuel, cdn-fuel, LegacyFuel, ox_fuel
|
||||
Config.TierSystem = true -- allows for three tiers of certain drugs ( coke, heroin, crack, lsd)
|
||||
Config.RequestModelTime = 30000 -- if you need more time than this, uhhhh wow
|
||||
Config.Badtrip = 20 -- number means % chance to spawn a clone that chases and attacks while on mescaline
|
||||
@@ -66,4 +66,5 @@ Config.Bzz = { -- if you have BZZZ props for these turn it on if you want
|
||||
heroin =false,
|
||||
shrooms = false,
|
||||
weed = false,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user