fix(qs-inventory, 0r_idcard): id_card metadata + gender mapping + pcall clothing
- Fix Config.Genders: adăugat [0]=Male (QBCore folosește 0/1, nu 1/2) - Fix 0r_idcard: addItem trimite acum metadata (firstname, lastname etc) - pcall pe handleDeleteItem în RemoveItem.lua (qs-smartphone-pro compat) - Framework forțat QB, debug dezactivat
This commit is contained in:
@@ -58,7 +58,7 @@ local frameworks = { -- [CORE] Resource name → internal alias
|
||||
['qb-core'] = 'qb',
|
||||
['qbx_core'] = 'qb'
|
||||
}
|
||||
Config.Framework = DependencyCheck(frameworks) or 'none' -- [AUTO]
|
||||
Config.Framework = 'qb' -- [EDIT] Forțat QB (auto-detect dezactivat)
|
||||
|
||||
local qbxHas = GetResourceState('qbx_core') == 'started' -- [AUTO]
|
||||
Config.QBX = qbxHas -- [AUTO]
|
||||
@@ -332,7 +332,8 @@ Config.MaxDropViewDistance = 9.5 -- [EDIT] Max view dista
|
||||
Config.Genders = {
|
||||
['m'] = 'Male',
|
||||
['f'] = 'Female',
|
||||
[1] = 'Male',
|
||||
[0] = 'Male',
|
||||
[1] = 'Female',
|
||||
[2] = 'Female'
|
||||
}
|
||||
|
||||
@@ -442,7 +443,7 @@ Config.KeyBinds = { -- [EDIT]
|
||||
-- Debug & Development Tools [EDIT]
|
||||
-- [INFO] Enables development logs and debugging prints. Use only during testing.
|
||||
--──────────────────────────────────────────────────────────────────────────────
|
||||
Config.Debug = true -- [EDIT] Detailed console prints
|
||||
Config.Debug = false -- [EDIT] Detailed console prints
|
||||
Config.ZoneDebug = false -- [EDIT] Display additional zone debug info
|
||||
Config.InventoryPrefix = 'inventory' -- [ADV] Internal prefix; changing requires code adjustments
|
||||
Config.SaveInventoryInterval = 12500 -- [EDIT] Autosave interval (ms)
|
||||
|
||||
Reference in New Issue
Block a user