Hi I'm trying to check whether a vehicledoor is opened. To do this I use the native IS_VEHICLE_DOOR_FULLY_OPEN but it doesnt seem to work. It only works when it != equal what I ask. I already tried it with null instead of true and without either of them. However I just cant seem to get it working.
if (Rage.Native.NativeFunction.Natives.IS_VEHICLE_DOOR_FULLY_OPEN<bool>(Game.LocalPlayer.Character.GetNearbyVehicles(1)[0], 3) == true)
{
do something
}
if (Rage.Native.NativeFunction.Natives.IS_VEHICLE_DOOR_FULLY_OPEN<bool>(Game.LocalPlayer.Character.GetNearbyVehicles(1)[0], 3) != true)
{
do something
}