fix(qb-core): add global CreateUsableItem alias for qs-inventory compatibility
qs-inventory apelează CreateUsableItem ca funcție globală, dar qb-core definea doar QBCore.Functions.CreateUseableItem (cu 'e'). Adăugat alias global + fix 16 stringuri sparte în items.lua care blocau parsarea.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
fx_version 'bodacious'
|
||||
|
||||
game 'gta5'
|
||||
|
||||
lua54 'yes'
|
||||
|
||||
version '2.0.2'
|
||||
|
||||
shared_scripts {
|
||||
'config.lua',
|
||||
'utils.lua'
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'client/custom/framework/*.lua',
|
||||
'client/*.lua'
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'server/*.lua'
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
'config.lua',
|
||||
'client/custom/framework/*.lua'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
'qs-inventory' -- Required
|
||||
}
|
||||
|
||||
dependency '/assetpacks'
|
||||
Reference in New Issue
Block a user