addEvent("JazdaProbna", true)
addEventHandler("JazdaProbna", root, function(gracz, p)
local shape = cuboid(gracz)
if not shape then return end
local veh = getElementData(shape, "salon")
if not veh then return end
local model = getElementModel(veh)
pojazdd = createVehicle(model, 1338.43, -858.84, 39.03, 0.0, 2.3, 180.0)
exports["w_noti"]:noti("Rozpocz?…?‚e?› jazde prĂłbn?….", source)
warpPedIntoVehicle(gracz, pojazdd)
setTimer(function(gracz)
destroyElement(pojazdd)
setElementPosition(gracz, 1338.43, -858.84, 39.03)
end, 35000, 1, gracz)
end)