forked from Simnation/Main
Update fxmanifest.lua
This commit is contained in:
parent
087c5ca085
commit
841be7bf14
1 changed files with 18 additions and 4 deletions
|
@ -1,23 +1,37 @@
|
||||||
fx_version 'cerulean'
|
fx_version 'cerulean'
|
||||||
game 'gta5'
|
game 'gta5'
|
||||||
|
|
||||||
|
-- Enable Lua 5.4 (REQUIRED for ox_lib and modern QB resources)
|
||||||
|
lua54 'yes'
|
||||||
|
use_experimental_fxv2_oal 'yes' -- Better memory handling
|
||||||
|
|
||||||
name 'qb-hookah'
|
name 'qb-hookah'
|
||||||
description 'Hookah Smoking System'
|
description 'Hookah Smoking System'
|
||||||
version '1.0.0'
|
version '1.0.0'
|
||||||
|
|
||||||
|
-- Load critical dependencies FIRST
|
||||||
|
dependencies {
|
||||||
|
'qb-core', -- Must load before qb-target
|
||||||
|
'qb-target', -- Required for target system
|
||||||
|
'ox_lib' -- Requires Lua 5.4
|
||||||
|
}
|
||||||
|
|
||||||
shared_script '@qb-core/import.lua'
|
shared_script '@qb-core/import.lua'
|
||||||
|
|
||||||
|
-- Scripts load in THIS order (important!)
|
||||||
client_scripts {
|
client_scripts {
|
||||||
'@qb-target/client.lua',
|
'@ox_lib/init.lua', -- Load ox_lib BEFORE qb-target
|
||||||
'@ox_lib/init.lua',
|
'@qb-target/client.lua', -- Then load qb-target
|
||||||
'client/main.lua'
|
'client/main.lua' -- Your script last
|
||||||
}
|
}
|
||||||
|
|
||||||
server_script 'server/main.lua'
|
server_script 'server/main.lua'
|
||||||
|
|
||||||
|
-- Proper ytyp/prop file declaration
|
||||||
files {
|
files {
|
||||||
'stream/props.ytyp',
|
'stream/props.ytyp',
|
||||||
'stream/hookah_prop.*'
|
'stream/hookah_prop.ytyp' -- Ensure exact file extension
|
||||||
}
|
}
|
||||||
|
|
||||||
data_file 'DLC_ITYP_REQUEST' 'stream/props.ytyp'
|
data_file 'DLC_ITYP_REQUEST' 'stream/props.ytyp'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue