- Introduced a new code snippets resource for common FiveM patterns in Lua and JavaScript. - Added a framework comparison document outlining Standalone, ESX, and QBCore features. - Created search results view for FiveM documentation queries. - Developed client and server template scripts for ESX and QBCore frameworks. - Implemented NUI templates including HTML, CSS, and JavaScript for user interfaces. - Established routes for documentation and console commands. - Added tests for various features including documentation routes and tool functionalities. - Configured Vite for asset management with Laravel. - Updated .gitignore files for storage and framework directories.
58 lines
988 B
PHP
58 lines
988 B
PHP
fx_version 'cerulean'
|
|
game 'gta5'
|
|
|
|
author '{{ $author }}'
|
|
description '{{ $description }}'
|
|
version '{{ $version }}'
|
|
|
|
@if($framework === 'esx')
|
|
shared_script '@es_extended/imports.lua'
|
|
|
|
@elseif($framework === 'qbcore')
|
|
shared_script '@qb-core/shared/locale.lua'
|
|
|
|
@endif
|
|
shared_scripts {
|
|
@if($framework === 'esx')
|
|
'@es_extended/locale.lua',
|
|
'locales/*.lua',
|
|
@endif
|
|
'config.{{ $scriptExt }}'
|
|
}
|
|
|
|
@if($includeClient)
|
|
client_scripts {
|
|
'client/main.{{ $scriptExt }}'
|
|
}
|
|
|
|
@endif
|
|
@if($includeServer)
|
|
server_scripts {
|
|
@if($framework === 'esx')
|
|
'@mysql-async/lib/MySQL.lua',
|
|
@elseif($framework === 'qbcore')
|
|
'@oxmysql/lib/MySQL.lua',
|
|
@endif
|
|
'server/main.{{ $scriptExt }}'
|
|
}
|
|
|
|
@endif
|
|
-- Uncomment if using NUI
|
|
-- ui_page 'html/index.html'
|
|
--
|
|
-- files {
|
|
-- 'html/index.html',
|
|
-- 'html/style.css',
|
|
-- 'html/script.js'
|
|
-- }
|
|
|
|
-- dependencies {
|
|
@if($framework === 'esx')
|
|
-- 'es_extended'
|
|
@elseif($framework === 'qbcore')
|
|
-- 'qb-core'
|
|
@endif
|
|
-- }
|
|
|
|
lua54 'yes'
|