you are actually a life saver! it worked!!!

for those who want to know how it works:

    local playerPed = GetPlayerPed(-1)
    local vehicle = GetVehiclePedIsIn(playerPed,false)
    if GetEntityRotation(vehicle).x >= 7 then --7 is our value
   --do stuff here

as higher the value as steeper you can drive before the code gives an output.

1 Like