ESKADIVI Posted January 24, 2021 Share Posted January 24, 2021 (edited) 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. Edited January 24, 2021 by ESKADIVI Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now