feat(rv-maphold): resursa standalone harta fizica + item map in inventar

- Animatie hartă în mână (WORLD_HUMAN_TOURIST_MAP) la ESC
- Blipuri ascunse fara item map in inventar
- Item map adaugat in qb-core + qs-inventory items.lua
- StarterItems: harta se da la crearea personajului nou
- Imagine map.png GTA-style in inventar
This commit is contained in:
2026-04-01 22:13:31 +03:00
parent 89070f745b
commit e8141d030a
7 changed files with 153 additions and 0 deletions

View File

@@ -258,6 +258,7 @@ QBShared.Items = {
['driver_license'] = {['name'] = 'driver_license', ['label'] = 'Drivers License', ['weight'] = 0, ['type'] = 'item', ['image'] = 'driver_license.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Permit to show you can drive a vehicle'},
['lawyerpass'] = {['name'] = 'lawyerpass', ['label'] = 'Lawyer Pass', ['weight'] = 0, ['type'] = 'item', ['image'] = 'lawyerpass.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Pass exclusive to lawyers to show they can represent a suspect'},
['weaponlicense'] = {['name'] = 'weaponlicense', ['label'] = 'Weapon License', ['weight'] = 0, ['type'] = 'item', ['image'] = 'weapon_license.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Weapon License'},
['map'] = {['name'] = 'map', ['label'] = 'Harta', ['weight'] = 100, ['type'] = 'item', ['image'] = 'map.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'O hartă a orașului Los Santos'},
['visa'] = {['name'] = 'visa', ['label'] = 'Visa Card', ['weight'] = 0, ['type'] = 'item', ['image'] = 'visacard.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Visa can be used via ATM'},
['mastercard'] = {['name'] = 'mastercard', ['label'] = 'Master Card', ['weight'] = 0, ['type'] = 'item', ['image'] = 'mastercard.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'MasterCard can be used via ATM'},
['security_card_01'] = {['name'] = 'security_card_01', ['label'] = 'Security Card A', ['weight'] = 0, ['type'] = 'item', ['image'] = 'security_card_01.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A security card... I wonder what it goes to'},

View File

@@ -5,6 +5,7 @@ local NumberCharset = {}
QBShared.StarterItems = {
['phone'] = { amount = 1, item = 'phone' },
['map'] = { amount = 1, item = 'map' },
-- id_card: se primește la mugshot (0r_idcard) nu la spawn
-- * TODO: spawn_mask — item custom cu script usable care aplică masca specifică (134/2 male, 134/3 female)
-- ['spawn_mask'] = { amount = 1, item = 'spawn_mask' },

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

View File

@@ -2369,6 +2369,19 @@ ItemList = {
['object'] = 'prop_cs_swipe_card',
['description'] = 'Weapon License'
},
['map'] = {
['name'] = 'map',
['label'] = 'Hartă',
['weight'] = 100,
['type'] = 'item',
['image'] = 'map.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['object'] = 'prop_tourist_map_01',
['description'] = 'O hartă a orașului Los Santos'
},
['creditcard'] = {
['name'] = 'creditcard',
['label'] = 'Credit Card',