CLOTHESHOP
Clotheshop Synchronization Multi-character Setup:
Search for the following line:
-- TriggerEvent('qb-clothing:client:loadPlayerClothing', data, charPed)
Replace/Add:
TriggerEvent('loadPlayerClothing', data, charPed)
exports['es-clotheshop']:reloadSkin(GetEntityHealth(PlayerPedId()))
Search for the event:
qb-clothes:client:CreateFirstCharacter
Replace with:
TriggerEvent('CreateFirstCharacter')
Configuration Links and Their Functions:
Config = {
Framework = 'QBCore', -- Specifies the framework used: QBCore, ESX, OLDQBCore, or NewESX.
InteractionKey = 'E', -- Default key for interactions.
InteractionKeyCode = 38, -- Default key code for the 'E' key.
Marker = {
drawDistance = 30.0, -- Distance at which the marker becomes visible.
markerType = 2, -- Example of a marker type.
markerScale = {x = 1.5, y = 1.5, z = 1.0}, -- Scale of the marker (increased for better visibility).
markerColor = {r = 0, g = 255, b = 0, a = 200} -- Color of the marker (made more prominent).
},
Shops = { -- Coordinates for various shop locations.
vector3(72.3, -1399.1, 28.4),
vector3(-703.8, -152.3, 36.4),
vector3(-167.9, -299.0, 38.7),
vector3(428.7, -800.1, 28.5),
vector3(-829.4, -1073.7, 10.3),
vector3(-1447.8, -242.5, 48.8),
vector3(11.6, 6514.2, 30.9),
vector3(123.6, -219.4, 53.6),
vector3(1696.3, 4829.3, 41.1),
vector3(618.1, 2759.6, 41.1),
vector3(1190.6, 2713.4, 37.2),
vector3(-1193.4, -772.3, 16.3),
vector3(-3172.5, 1048.1, 19.9),
vector3(-1108.4, 2708.9, 18.1),
vector3(1322.6, -1651.9, 51.2),
vector3(-1153.6, -1425.6, 4.9),
vector3(322.1, 180.4, 103.5),
vector3(-3170.0, 1075.0, 20.8),
vector3(1864.6, 3747.7, 33.0),
vector3(-293.7, 6200.0, 31.4)
}
}
Last updated