fixed bugs
This commit is contained in:
1 parent
9d828a2b15
commit
abb1bba3fe
11 files changed
+30
-29
No files matched your search
+1
-6
@@ -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)
|
||||
Reference in new issue
Block a user