local data = {
entry = {
leftbottom = vector3(-963.1714, -2778.506, 14.47828),
righttop = vector3(-965.7361, -2777.121, 19.46395),
radius = 8.0
},
landing = {
start = vector3(-988.8297, -2830.789, 11.96478),
ending = vector3(-1027.989, -2895.436, 16.95805),
radius = 18.0
},
camcoords = vector3(-967.196, -2811.716, 14.5521),
unk1 = 150,
unk2 = 0,
unk3 = 0
}
local stuntjump = AddStuntJumpAngled(
data.entry.leftbottom,
data.entry.righttop,
data.entry.radius,
data.landing.start,
data.landing.ending,
data.landing.radius,
data.camcoords,
data.unk1,
data.unk2,
data.unk3
)
print("New stunt jump added, id: " .. stuntjump)
Citizen.CreateThread(function()
while true do
Wait(0)
DrawLine(data.entry.leftbottom, data.entry.righttop, 255, 255, 255, 255)
DrawLine(data.landing.start, data.landing.ending, 255, 0, 0, 255)
DrawMarker(28, data.camcoords.x, data.camcoords.y, data.camcoords.z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 255, 255, 255, 150, false, false, 2, false, nil, nil, false)
end
end)