big update. i prob broke something, let me know in discord

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-09-24 15:07:41 -07:00
1 parent 009b0a4f4a
commit 028c5f771f
42 files changed
+2042 -3056

No files matched your search

+5 -5
View File
@@ -23,7 +23,7 @@ RegisterServerEvent('md-drugs:server:wholesalecoke', function()
local removed = Player.Functions.RemoveItem(v, item.amount)
Player.Functions.AddMoney("cash", item.amount * price)
Notifys("You received " .. item.amount * price .. " Dollars!" , "success")
Log(Player.PlayerData.charinfo.firstname .. ' ' .. Player.PlayerData.charinfo.lastname .. ' Wholesaled Drugs ', 'wholesale')
Log(GetName(source) .. ' Wholesaled Drugs ', 'wholesale')
end
end
end)
@@ -47,7 +47,7 @@ RegisterServerEvent('md-drugs:server:wholesalecrack', function()
local removed = Player.Functions.RemoveItem(v, item.amount)
Player.Functions.AddMoney("cash", item.amount * price)
Notifys("You received " .. item.amount * price .. " Dollars!" , "success")
Log(Player.PlayerData.charinfo.firstname .. ' ' .. Player.PlayerData.charinfo.lastname .. ' Wholesaled Drugs ', 'wholesale')
Log(GetName(source) .. ' Wholesaled Drugs ', 'wholesale')
end
end
end)
@@ -73,7 +73,7 @@ RegisterServerEvent('md-drugs:server:wholesalelsd', function()
local removed = Player.Functions.RemoveItem(v, item.amount)
Player.Functions.AddMoney("cash", item.amount * price)
Notifys("You received " .. item.amount * price .. " Dollars!" , "success")
Log(Player.PlayerData.charinfo.firstname .. ' ' .. Player.PlayerData.charinfo.lastname .. ' Wholesaled Drugs ', 'wholesale')
Log(GetName(source) .. ' Wholesaled Drugs ', 'wholesale')
end
end
end)
@@ -98,7 +98,7 @@ RegisterServerEvent('md-drugs:server:wholesaleheroin', function()
local removed = Player.Functions.RemoveItem(v, item.amount)
Player.Functions.AddMoney("cash", item.amount * price)
Notifys("You received " .. item.amount * price .. " Dollars!" , "success")
Log(Player.PlayerData.charinfo.firstname .. ' ' .. Player.PlayerData.charinfo.lastname .. ' Wholesaled Drugs ', 'wholesale')
Log(GetName(source) .. ' Wholesaled Drugs ', 'wholesale')
end
end
end)
@@ -122,7 +122,7 @@ RegisterServerEvent('md-drugs:server:wholesalextc', function()
local removed = Player.Functions.RemoveItem(v, item.amount)
Player.Functions.AddMoney("cash", item.amount * price)
Notifys("You received " .. item.amount * price .. " Dollars!" , "success")
Log(Player.PlayerData.charinfo.firstname .. ' ' .. Player.PlayerData.charinfo.lastname .. ' Wholesaled Drugs ', 'wholesale')
Log(GetName(source) .. ' Wholesaled Drugs ', 'wholesale')
end
end
end)