chore(styling): ensure consistent indentation & define editorconfig

This commit is contained in:
Taso
2021-10-13 21:54:57 -04:00
parent da8da214e4
commit a5ebf4b9ce
13 changed files with 1406 additions and 1225 deletions
+11 -11
View File
@@ -5,7 +5,7 @@ QBCore.ServerCallbacks = {}
QBCore.UseableItems = {}
exports('GetCoreObject', function()
return QBCore
return QBCore
end)
-- To use this export in a script instead of manifest method
@@ -15,14 +15,14 @@ end)
-- Get permissions on server start
CreateThread(function()
local result = exports.oxmysql:fetchSync('SELECT * FROM permissions', {})
if result[1] then
for k, v in pairs(result) do
QBCore.Config.Server.PermissionList[v.license] = {
license = v.license,
permission = v.permission,
optin = true,
}
end
end
local result = exports.oxmysql:fetchSync('SELECT * FROM permissions', {})
if result[1] then
for k, v in pairs(result) do
QBCore.Config.Server.PermissionList[v.license] = {
license = v.license,
permission = v.permission,
optin = true,
}
end
end
end)