Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question target esx_vehicleshop

Suryawijaya

Gold Elite
Joined
Mar 16, 2021
Messages
79
Reaction score
65
Points
221
How can i add or export a qtarget on esx_vehicleshop ? im fckin dizzy to think about thiss
 

Jouzse

Member
Joined
Oct 6, 2022
Messages
2
Reaction score
3
Points
146
Location
Denmark
client/main.lua

CreateThread(function()
exports.qtarget:AddBoxZone("vehshop", vector3(113.94, -140.75, 54.86), 1, 1, {
name="vehshop",
heading=11.0,
debugPoly=false,
minZ=53.86,
maxZ=56.86,
}, {
options = {
{
event = "car",
icon = "fa-solid fa-car",
label = "Vehicle Shop",
},
},
distance = 1.5
})
end)
RegisterNetEvent('car', function()
OpenShopMenu()
end)

change vec3 coords with polyzone coords, minz and maxz too with polyzone
 
Joined
Jun 25, 2023
Messages
1
Reaction score
0
Points
156
Location
Pepa
client/main.lua

CreateThread(function()
exports.qtarget:AddBoxZone("vehshop", vector3(113.94, -140.75, 54.86), 1, 1, {
name="vehshop",
heading=11.0,
debugPoly=false,
minZ=53.86,
maxZ=56.86,
}, {
options = {
{
event = "car",
icon = "fa-solid fa-car",
label = "Vehicle Shop",
},
},
distance = 1.5
})
end)
RegisterNetEvent('car', function()
OpenShopMenu()
end)

change vec3 coords with polyzone coords, minz and maxz too with polyzone
and ox_target?
 
Top