Heyy, want to have that all cars which Player occupie will get handling from Elegy.
function swapCars()
local dummyVehicle = createVehicle(562, 497, -2439, 13)
local playerVehicle = getPedOccupiedVehicle(localPlayer)
if (dummyVehicle and playerVehicle) then
local tblHandling = getVehicleHandling(dummyVehicle)
if (tblHandling) then
for k, v in pairs(tblHandling) do
setVehicleHandling(playerVehicle, k, v)
end
end
end
end
addEventHandler("onClientResourceStart", root, swapCars)
And nothing changed, also tried to just
setVehicleHandling(playerVehicle, "maxVelocity", 600.0)
setVehicleHandling(playerVehicle, "engineAcceleration", 180.0 )
and same nothing really happend.