qbcore-framework / qb-core

FiveM RP Framework Core :muscle:
GNU General Public License v3.0
590 stars 960 forks source link

[BUG] Maybe a Typo #1081

Closed idrp closed 9 months ago

idrp commented 9 months ago

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

idrp commented 9 months ago

Ok I might be going mad or missing something all the references are QBCore.Config yet I expected QBConfig