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
+43
-5
No files matched your search
@@ -370,6 +370,33 @@ for k, v in pairs (locations.MethSmash) do
|
|||||||
})
|
})
|
||||||
end
|
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()
|
RegisterCommand('offset', function()
|
||||||
local pos = GetEntityCoords(PlayerPedId())
|
local pos = GetEntityCoords(PlayerPedId())
|
||||||
Wait(4000)
|
Wait(4000)
|
||||||
@@ -408,3 +435,4 @@ for k, v in pairs (locations.Methace) do
|
|||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
+6
-1
@@ -55,7 +55,11 @@ for k, v in pairs(locations.OxyPayForTruck) do
|
|||||||
if not paid then return end
|
if not paid then return end
|
||||||
local oxycar = CreateVehicle("burrito3",v.truckSpawn.x, v.truckSpawn.y, v.truckSpawn.z, v.truckSpawn.w, true, false)
|
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))
|
TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(oxycar))
|
||||||
ps.notify(ps.lang('oxy.keys'), 'success')
|
ps.notify(ps.lang('oxy.keys'), 'success')
|
||||||
onMission = true
|
onMission = true
|
||||||
@@ -91,4 +95,5 @@ for k, v in pairs(locations.OxyPayForTruck) do
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
+3
-1
@@ -152,7 +152,9 @@ Lang.meth = {
|
|||||||
targetStealACE = 'Steal Acetone',
|
targetStealACE = 'Steal Acetone',
|
||||||
stealingACE = 'Stealing Acetone',
|
stealingACE = 'Stealing Acetone',
|
||||||
notOnRun = 'You Are Not On A Meth Run',
|
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 = {
|
Lang.oxy = {
|
||||||
|
|||||||
+4
-2
@@ -18,7 +18,7 @@ local methLocs = {
|
|||||||
MethEph = { -- get ephedrine
|
MethEph = { -- get ephedrine
|
||||||
{loc = vector3(3559.86, 3673.9, 28.13), l = 1.0, w = 1.0, rot = 45.0, gang = ""},
|
{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 = ""},
|
{loc = vector3(3535.41, 3661.05, 28.12), l = 1.0, w = 1.0, rot = 45.0, gang = ""},
|
||||||
},
|
},
|
||||||
MethHeist = {
|
MethHeist = {
|
||||||
@@ -36,7 +36,7 @@ local methLocs = {
|
|||||||
|
|
||||||
local methRecipes = {
|
local methRecipes = {
|
||||||
cook = {
|
cook = {
|
||||||
heat = {take = {ephedrine = 1, acetone = 1}, give = {}}
|
heat = {take = {ephedrine = 1, acetone = 1}, give = {}} --Missing item
|
||||||
},
|
},
|
||||||
bag = {
|
bag = {
|
||||||
bags = {take = {empty_weed_bag = 5}, give = {methbags = 5} }
|
bags = {take = {empty_weed_bag = 5}, give = {methbags = 5} }
|
||||||
@@ -143,3 +143,5 @@ ps.registerCallback('md-drugs:server:registerMeth', function(source)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+2
-1
@@ -3,7 +3,7 @@ ps = exports.ps_lib:init()
|
|||||||
ps.loadLangs("uwu")
|
ps.loadLangs("uwu")
|
||||||
|
|
||||||
Config.respawnTime = 100 -- Seconds
|
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.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.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
|
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,
|
heroin =false,
|
||||||
shrooms = false,
|
shrooms = false,
|
||||||
weed = false,
|
weed = false,
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user