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,16 @@
|
||||
Config = {}
|
||||
|
||||
Config.WeapDraw = {
|
||||
variants = { 130, 122, 3, 6, 8 },
|
||||
weapons = {
|
||||
'WEAPON_PISTOL',
|
||||
'WEAPON_PISTOL_MK2',
|
||||
'WEAPON_COMBATPISTOL',
|
||||
'WEAPON_APPISTOL',
|
||||
'WEAPON_PISTOL50',
|
||||
'WEAPON_REVOLVER',
|
||||
'WEAPON_SNSPISTOL',
|
||||
'WEAPON_HEAVYPISTOL',
|
||||
'WEAPON_VINTAGEPISTOL'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user