selamlar qbcore vehicleshop scriptine costum yer eklenebiliyormuş . Ama bir türlü başaramadım . araç spawn oluyo ama satın alma menüsü gelmiyor . police permine atamak istiyorum .
['pdvs'] = {
['Type'] = 'free-use',
['Zone'] = {
['Shape'] = { --polygon that surrounds the shop
vector2(463.70962524414, -999.46594238281),
vector2(463.79327392578, -999.65399169922),
vector2(423.1575012207, -1000.2854003906),
vector2(423.16662597656, -973.04449462891),
vector2(463.71633911133, -973.02001953125)
},
['minZ'] = 25.690, -- min height of the shop zone
['maxZ'] = 25.690, -- max height of the shop zone
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'policedealership', -- Blip name
['showBlip'] = false, -- true or false
['blipSprite'] = 477, -- Blip sprite
['blipColor'] = 2, -- Blip color
['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(458.82, -992.47, 25.34), -- Blip Location
['ReturnLocation'] = vector3(452.19, -994.94, 25.7), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(437.54, -996.8, 25.12, 89.31), -- Spawn location when vehicle is bought
['TestDriveSpawn'] = vector4(436.32, -994.0, 25.7, 92.03), -- Spawn location for test drive
['ShowroomVehicles'] = {
[1] = {
coords = vector4(458.81, -992.47, 25.34, 179.95), -- where the vehicle will spawn on display
defaultVehicle = 'polvstr', -- Default display vehicle
chosenVehicle = 'polvstr', -- Same as default but is dynamically changed when swapping vehicles
},
},
},
hatayıda bulamadım kod bu şekilde .(Konuyu yanlış yere açmış olabilirim . )
['pdvs'] = {
['Type'] = 'free-use',
['Zone'] = {
['Shape'] = { --polygon that surrounds the shop
vector2(463.70962524414, -999.46594238281),
vector2(463.79327392578, -999.65399169922),
vector2(423.1575012207, -1000.2854003906),
vector2(423.16662597656, -973.04449462891),
vector2(463.71633911133, -973.02001953125)
},
['minZ'] = 25.690, -- min height of the shop zone
['maxZ'] = 25.690, -- max height of the shop zone
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'policedealership', -- Blip name
['showBlip'] = false, -- true or false
['blipSprite'] = 477, -- Blip sprite
['blipColor'] = 2, -- Blip color
['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(458.82, -992.47, 25.34), -- Blip Location
['ReturnLocation'] = vector3(452.19, -994.94, 25.7), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(437.54, -996.8, 25.12, 89.31), -- Spawn location when vehicle is bought
['TestDriveSpawn'] = vector4(436.32, -994.0, 25.7, 92.03), -- Spawn location for test drive
['ShowroomVehicles'] = {
[1] = {
coords = vector4(458.81, -992.47, 25.34, 179.95), -- where the vehicle will spawn on display
defaultVehicle = 'polvstr', -- Default display vehicle
chosenVehicle = 'polvstr', -- Same as default but is dynamically changed when swapping vehicles
},
},
},
hatayıda bulamadım kod bu şekilde .(Konuyu yanlış yere açmış olabilirim . )
