- push for ready

This commit is contained in:
Mustache Dom committed 2026-03-05 00:00:34 -08:00
1 parent c3084abc78
commit 4e48857437
39 files changed
+178 -149

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['TravellingMerchant'] then return end
local function spawn()
local data = Bridge.Callback.Trigger('md-drugs:server:GetMerchant')
local model = 's_m_m_trucker_01'
+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['consumables'] then return end
Bridge.Callback.Register('md-drugs:client:consumedrugs', function(time, effect, anim, progresstext, status, item)
Bridge.Anim.RequestDict(anim.dict)
+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['deliveries'] then return end
local dealer = {}
local buyer = nil
+42 -4
View File
@@ -304,9 +304,43 @@ else
end
end
if Config.Emotes == 'scully' then
function playEmote(emote)
exports.scully_emotemenu:playEmoteByCommand(emote, 0)
end
function stopEmote()
exports.scully_emotemenu:cancelEmote()
end
end
if Config.Emotes == 'dpemotes' then
function playEmote(emote)
TriggerEvent('animations:client:EmoteCommandStart', {emote})
end
function stopEmote()
TriggerEvent('animations:client:EmoteCommandStart', {"c"})
end
end
if Config.Emotes == 'rpemotes' then
function playEmote(emote)
exports["rpemotes"]:EmoteCommandStart(emote, 0)
end
function stopEmote()
exports["rpemotes"]:EmoteCancel()
end
end
local animation = nil
function progressbar(text, time, emote, cancel)
if emote and emote.prop then
if not emote.prop.model then
local animData
if type(emote) == 'string' then
playEmote(emote)
animation = emote
elseif type(emote) == 'table' then
animData = emote
if emote.prop and not emote.prop.model then
emote.prop = nil
end
end
@@ -315,9 +349,13 @@ function progressbar(text, time, emote, cancel)
label = text or 'LAZY AF DEVS',
canCancel = true,
disable = cancel or Config.ProgressBar.Disables,
anim = emote or Config.DefaultAnimation,
prop = emote and emote.prop or nil
anim = animData,
prop = animData and animData.prop or nil
})
if animation then
animation = nil
stopEmote()
end
return success
end
+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['heroin'] then return end
local herointable = false
local dirty = false
+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['lean'] then return end
local started = false
local leanCar = nil
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['lsd'] then return end
local tableout = false
local dirtylsd = false
local locations = Config.LSD.Locations
+1 -1
View File
@@ -1,4 +1,4 @@
if not Config.Drugs['mescaline'] then return end
local badTrip = 100
local locations = Config.Mescaline.Locations
local function AlienEffect()
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['meth'] then return end
local amonia, tray, heated, active, trays, startedmeth, methVan = false, false, false, false, nil, false, nil
local locations = Config.Meth.Locations
--- meth heist
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['oxyruns'] then return end
local carryPackage = nil
local onMission = false
local locations = Config.Oxy.Locations
+2
View File
@@ -1,3 +1,5 @@
if not Config.Drugs['pharma'] then return end
local locations = Config.Pharma.Locations
Bridge.Callback.Register("md-drugs:client:prescriptionpad", function( data, op)
+2
View File
@@ -1,3 +1,5 @@
if not Config.Drugs['shrooms'] then return end
local function EcstasyEffect()
local startStamina = 50
SetFlash(0, 0, 500, 20000, 500)
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['weed'] then return end
local exploded, drying = false, false
local locations, recipes = Config.Weed.Locations, Config.Weed.Recipes
for k, v in pairs (locations.WeedDry) do
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['whippit'] then return end
local prop = nil
local function animation(color)
+1 -1
View File
@@ -1,4 +1,4 @@
local active = false
if not Config.Drugs['wholesale'] then return end
local active, ped, peds = false, nil, {}
local function loop(wholesaleData)
+1
View File
@@ -1,3 +1,4 @@
if not Config.Drugs['xtc'] then return end
local xtcpress = false
local locations = Config.XTC.Locations