Looked at update and found that reference to config looks weird.
Expected behavior
CreateThread(function() -- Add ace to node for perm checking
local permissions = QBConfig.Config.Server.Permissions
for i = 1, #permissions do
local permission = permissions[i]
ExecuteCommand(('add_ace qbcore.%s %s allow'):format(permission, permission))
end
end)
Actual behavior
CreateThread(function() -- Add ace to node for perm checking
local permissions = QBCore.Config.Server.Permissions
for i = 1, #permissions do
local permission = permissions[i]
ExecuteCommand(('add_ace qbcore.%s %s allow'):format(permission, permission))
end
end)
Summary
Maybe a typo
Reproduction
Looked at update and found that reference to config looks weird.
Expected behavior
CreateThread(function() -- Add ace to node for perm checking local permissions = QBConfig.Config.Server.Permissions for i = 1, #permissions do local permission = permissions[i] ExecuteCommand(('add_ace qbcore.%s %s allow'):format(permission, permission)) end end)
Actual behavior
CreateThread(function() -- Add ace to node for perm checking local permissions = QBCore.Config.Server.Permissions for i = 1, #permissions do local permission = permissions[i] ExecuteCommand(('add_ace qbcore.%s %s allow'):format(permission, permission)) end end)
Additional context
No response
Last Updated
today
Custom Resources
none
Resource Rename
no