made makeMenu function, moved all stores from config to server/travellingmerchant.lua
This commit is contained in:
1 parent
e9f722a140
commit
dbed6b3c47
15 files changed
+239
-316
No files matched your search
@@ -261,7 +261,12 @@ function AddRep(source, type)
|
||||
MySQL.update('UPDATE drugrep SET drugrep = ? WHERE cid = ?', {update, Player.PlayerData.citizenid})
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
function sortTab(tbl, type)
|
||||
table.sort(tbl, function(a, b)
|
||||
return a[type] < b[type]
|
||||
end)
|
||||
end
|
||||
|
||||
function ChecknRemove(source, table)
|
||||
local Player = QBCore.Functions.GetPlayer(source)
|
||||
|
||||
Reference in new issue
Block a user