1
0
Fork 0
forked from Simnation/Main

Update fxmanifest.lua

This commit is contained in:
Nordi98 2025-06-25 02:10:21 +02:00
parent 841be7bf14
commit 1f3154bce7

View file

@ -1,37 +1,2 @@
fx_version 'cerulean'
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'
description 'Hookah Smoking System'
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'
-- Scripts load in THIS order (important!)
client_scripts {
'@ox_lib/init.lua', -- Load ox_lib BEFORE qb-target
'@qb-target/client.lua', -- Then load qb-target
'client/main.lua' -- Your script last
}
server_script 'server/main.lua'
-- Proper ytyp/prop file declaration
files {
'stream/props.ytyp',
'stream/hookah_prop.ytyp' -- Ensure exact file extension
}
data_file 'DLC_ITYP_REQUEST' 'stream/props.ytyp'