mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 17:23:31 +00:00
⚠️ Major Update ⚠️
- Major cleanup of all files including reformatting & notations - Added an optional export to add to scripts as an alternative to import.lua - Added player state to OnPlayerLoaded so no more need for isLoggedIn inside scripts - Updated all events to the new RegisterNetEvent and got rid of unneeded handlers - Added the ability for ACE permissions with commands - Added two new config options for player update interval and status update - Changed players table to use citizenid column as primary key <-- very important - Overall sloppy code cleanup, removal of unused code, got rid of nil checks
This commit is contained in:
+6
-10
@@ -4,7 +4,7 @@ game 'gta5'
|
||||
description 'QB-Core'
|
||||
version '1.0.0'
|
||||
|
||||
shared_scripts {
|
||||
shared_scripts {
|
||||
'import.lua',
|
||||
'config.lua',
|
||||
'shared.lua'
|
||||
@@ -14,25 +14,19 @@ client_scripts {
|
||||
'client/main.lua',
|
||||
'client/functions.lua',
|
||||
'client/loops.lua',
|
||||
'client/events.lua',
|
||||
'client/debug.lua'
|
||||
'client/events.lua'
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'server/main.lua',
|
||||
'server/functions.lua',
|
||||
'server/loops.lua',
|
||||
'server/player.lua',
|
||||
'server/events.lua',
|
||||
'server/commands.lua',
|
||||
'server/debug.lua'
|
||||
}
|
||||
|
||||
ui_page {
|
||||
'html/ui.html'
|
||||
}
|
||||
|
||||
lua54 'yes'
|
||||
ui_page 'html/ui.html'
|
||||
|
||||
files {
|
||||
'html/ui.html',
|
||||
@@ -43,4 +37,6 @@ files {
|
||||
dependencies {
|
||||
'progressbar',
|
||||
'connectqueue'
|
||||
}
|
||||
}
|
||||
|
||||
lua54 'yes'
|
||||
Reference in New Issue
Block a user