- rv-itemsonback v2.0: afișare props pe corp din inventar (medikit etc.) - Admin menu /itemsonback cu ox_lib (search items, adjust pos/rot, select bone) - Live preview cu auto-cleanup + /clearpreview emergency - Config persistent JSON (data/items.json) - Disable idle camera + idle animations (InvalidateIdleCam) - resources.cfg: safety net ensure qs-weaponsonback - fix(qs-inventory): Config.Genders[0]=Male pt QBCore compatibility
44 lines
1.8 KiB
Lua
44 lines
1.8 KiB
Lua
--[[
|
|
rv-itemsonback — Config
|
|
Bone presets și setări generale
|
|
]]
|
|
|
|
Config = {}
|
|
|
|
-- Bones comune pentru atașare (name → bone ID)
|
|
Config.Bones = {
|
|
{ label = '🦴 Pelvis (Curea)', value = 11816 }, -- SKEL_Pelvis
|
|
{ label = '🦴 Spate Jos', value = 57597 }, -- SKEL_Spine0
|
|
{ label = '🦴 Spate Mijloc', value = 24816 }, -- SKEL_Spine2
|
|
{ label = '🦴 Spate Sus', value = 24818 }, -- SKEL_Spine3
|
|
{ label = '🦴 Umăr Drept', value = 10706 }, -- SKEL_R_Clavicle
|
|
{ label = '🦴 Umăr Stâng', value = 64729 }, -- SKEL_L_Clavicle
|
|
{ label = '🦴 Coapsă Dreaptă', value = 51826 }, -- SKEL_R_Thigh
|
|
{ label = '🦴 Coapsă Stângă', value = 58271 }, -- SKEL_L_Thigh
|
|
{ label = '🦴 Mână Dreaptă', value = 28422 }, -- PH_R_Hand
|
|
{ label = '🦴 Piept', value = 24818 }, -- SKEL_Spine3
|
|
}
|
|
|
|
-- Prop-uri sugerate (pentru referință rapidă)
|
|
Config.SuggestedProps = {
|
|
'prop_ld_health_pack', -- First aid kit
|
|
'prop_tool_box_04', -- Toolbox
|
|
'prop_fire_exting_1a', -- Fire extinguisher
|
|
'prop_cs_binoculars', -- Binoculars
|
|
'prop_ammo_box_01', -- Ammo box
|
|
'prop_cs_heist_bag_01', -- Heist bag
|
|
'prop_paper_bag_small', -- Paper bag
|
|
'prop_tool_torch', -- Torch
|
|
'prop_cs_cardbox_01', -- Cardboard box
|
|
'prop_tool_jackham', -- Jackhammer
|
|
}
|
|
|
|
-- Increment-uri pentru ajustare
|
|
Config.PosStep = 0.02 -- pas mic pentru poziție
|
|
Config.PosStepBig = 0.08 -- pas mare pentru poziție
|
|
Config.RotStep = 5.0 -- pas mic pentru rotație
|
|
Config.RotStepBig = 15.0 -- pas mare pentru rotație
|
|
|
|
-- Interval verificare inventar (ms)
|
|
Config.CheckInterval = 2000
|