Car rollover

Hello,
so I am trying to find a script that disables car rollover with A and D.

This script has that feature. Disable all other shit you don’t want.

vehicle = GetVehiclePedIsIn(ped, false)
local roll = GetEntityRoll(vehicle)
if (roll > 75.0 or roll < -75.0) and GetEntitySpeed(vehicle) < 2 then
	DisableControlAction(2,59,true) -- Disable left/right
	DisableControlAction(2,60,true) -- Disable up/down
end
6 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.