Hey,
It’s a long time I asked something cause of my resources but now I do.
So I need the angle of the vehicle that the ped is driving and I couldn’t find a solution for it yet.
for example: if I drive on a hill, the angle is like 30° or less, that’s what I need to figure out.
if anyone knows another thing, how to figure out how steep the car is driving, I appreciate the help! 
have a nice day!

I tried that one, but It seems like it doesn’t matter what angle I try to call, it always give false back…
Oh that’s unfornate, maybe you could use GetEntityRotation() using some maths
2 Likes
alright I try that, thanks.
1 Like
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