qb-core
qb-core copied to clipboard
Performance, notification, and localization updates to `server/commands.lua`
Describe Pull request
Performance, notification, and localization updates to server/commands.lua
.
- Performance - Change ace permissions loop from a pairs() to a for-i loop as recommended in Lua performance test #9
-
Notification - Added success notifications for
openserver
andcloseserver
commands -
Localization - Added missing localization strings for
openserver
andcloseserver
commands
Questions (please complete the following information):
- Have you personally loaded this code into an updated qbcore project and checked all it's functionality? Yes
- Does your code fit the style guidelines? Yes
- Does your PR fit the contribution guidelines? Yes
@Asaayu Please update Branch