fixed bugs

This commit is contained in:
Mustache Dom committed 2024-11-12 02:07:16 -08:00
1 parent 9d828a2b15
commit abb1bba3fe
11 files changed
+30 -29

No files matched your search

+1 -6
View File
@@ -1,6 +1,5 @@
local QBCore = exports['qb-core']:GetCoreObject()
local config = lib.callback.await('md-drugs:server:getLocs', false)
local loc = config.Travellingmerchant[math.random(1, #config.Travellingmerchant)]
local stores = {
travel = {
{name = "tab_paper", price = 50, amount = 50, },
@@ -79,7 +78,3 @@ RegisterServerEvent("md-drugs:server:purchaseGoods", function(amount, money, ite
end
end
end)
lib.callback.register('md-drugs:server:GetMerchant', function(source)
return loc
end)