removed 90% of logs ( added logs to getrecipe, locationcheck, and fixed wholesale, dealers, and oxyruns, and meth

This commit is contained in:
Mustache Dom committed 2024-11-23 01:58:57 -08:00
1 parent cdd26ab465
commit 5c5f454207
14 files changed
+97 -212

No files matched your search

-4
View File
@@ -4,7 +4,6 @@ RegisterServerEvent('md-drugs:server:startcook', function()
local src = source
if not GetRecipe(source, 'meth', 'cook', 'heat') then return end
Notifys(src, "Adding Things To The Mix", "success")
Log(GetName(source) .. ' Started A Meth Batch', 'Meth')
end)
RegisterServerEvent('md-drugs:server:givemethingridients', function()
@@ -25,7 +24,6 @@ end)
RegisterServerEvent('md-drugs:server:getmeth', function()
local src = source
if not GetRecipe(src, 'meth', 'bag', 'bags') then return end
Log(GetName(src) .. ' Bagged 5 Of Meth', 'Meth')
end)
RegisterServerEvent('md-drugs:server:geteph', function(num)
@@ -33,7 +31,6 @@ RegisterServerEvent('md-drugs:server:geteph', function(num)
if not checkLoc(src, 'MethEph', num) then return end
if AddItem(src, 'ephedrine', 1) then
Notifys(src, 'Got Ephedrine!', "success")
Log(GetName(src) .. ' Got ' .. 1 .. 'Of Ephedrine', 'Meth')
end
end)
@@ -42,6 +39,5 @@ RegisterServerEvent('md-drugs:server:getace', function(num)
if not checkLoc(src, 'Methace', num) then return end
if AddItem(src, 'acetone', 1) then
Log(GetName(src) .. ' Got ' .. 1 .. 'Of Acetone', 'Meth')
Notifys(src, 'Got Acetone!', "success")
end
end)