Here is my full code... sure shocking but come on.
<?php
Event OnCrossingChecker($userName,$Flags,$Time,$Object,$UserSpeed,$CircleIndex) # Player event
$Heading = GetCurrentPlayerVar( "Heading" ); # Direction of forward axis : 0 = world y direction
$Direction = GetCurrentPlayerVar( "Direction" ); # Car's motion if Speed > 0 : 0 = world y direction
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
IF ( $Flags == 0 )
THEN
#globalmsg("^7head ".getcurrentplayervar("Heading")." dir ".getcurrentplayervar("Direction"));
IF ((( $Heading > 0) && ( $Heading < 90 )) && ( $Direction > 225 )) #Oange
THEN
IF( $Heading > $Direction )
THEN
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ELSE
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction")-360);
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading > 0) && ( $Heading < 90 )) && ( $Direction < 225 )) #Oange2
THEN
IF( $Heading > $Direction )
THEN
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ELSE
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Direction")-getcurrentplayervar("Heading"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading > 90) && ( $Heading < 180 )) && ( $Direction < 315 )) #yellow
THEN
IF( $Heading > $Direction )
THEN
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ELSE
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Direction")-getcurrentplayervar("Heading"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading > 90) && ( $Heading < 180 )) && ( $Direction > 315 )) #yellow2
THEN
IF( $Heading > $Direction )
THEN
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ELSE
SetCurrentPlayerVar("RealAngle",getcurrentplayervar("Direction")-getcurrentplayervar("Heading"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
ENDIF
IF ( $Flags == 0 )
THEN
#globalmsg("^7head ".getcurrentplayervar("Heading")." dir ".getcurrentplayervar("Direction"));
IF ((( $Heading < 0) && ( $Heading > -90 )) && ( $Direction > 135 ))
THEN
#globalmsg("^1test1");
SetCurrentPlayerVar("RealAngle",-getcurrentplayervar("Heading")-getcurrentplayervar("Direction")-360);
IF ( GetCurrentPlayerVar("RealAngle") < 0 )
THEN
# globalmsg("^2then");
SetCurrentPlayerVar("RealAnglerev",-getcurrentplayervar("RealAngle"));
globalmsg(.getplayervar($userName,"NickName")." ^2Anglerev:^3 ".Round(getcurrentplayervar("RealAnglerev"),0)."°");
ELSE
#globalmsg("^3else");
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading < 0) && ( $Heading > -90 )) && ( $Direction < 135 ))
THEN
# globalmsg("^2test2");
SetCurrentPlayerVar("RealAngle",-getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
IF ( GetCurrentPlayerVar("RealAngle") < 0 )
THEN
# globalmsg("^2then");
SetCurrentPlayerVar("RealAnglerev",-getcurrentplayervar("RealAngle"));
globalmsg(.getplayervar($userName,"NickName")." ^2Anglerev:^3 ".Round(getcurrentplayervar("RealAnglerev"),0)."°");
ELSE
#globalmsg("^3else"));
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading < -90) && ( $Heading > -180 )) && ( $Direction < 45 ))
THEN
# globalmsg("^3test3");
SetCurrentPlayerVar("RealAngle",-getcurrentplayervar("Heading")-getcurrentplayervar("Direction"));
IF ( GetCurrentPlayerVar("RealAngle") < 0 )
THEN
# globalmsg("^2then");
SetCurrentPlayerVar("RealAnglerev",-getcurrentplayervar("RealAngle"));
globalmsg(.getplayervar($userName,"NickName")." ^2Anglerev:^3 ".Round(getcurrentplayervar("RealAnglerev"),0)."°");
ELSE
# globalmsg("^3else");
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
IF ((( $Heading < -90) && ( $Heading > -180 )) && ( $Direction > 45 ))
THEN
#globalmsg("^4test4");
SetCurrentPlayerVar("RealAngle",-getcurrentplayervar("Heading")-getcurrentplayervar("Direction")-360);
IF ( GetCurrentPlayerVar("RealAngle") < 0 )
THEN
# globalmsg("^2then");
SetCurrentPlayerVar("RealAnglerev",-getcurrentplayervar("RealAngle"));
globalmsg(.getplayervar($userName,"NickName")." ^2Anglerev:^3 ".Round(getcurrentplayervar("RealAnglerev"),0)."°");
ELSE
# globalmsg("^3else");
globalmsg(.getplayervar($userName,"NickName")." ^2Angle:^3 ".Round(getcurrentplayervar("RealAngle"),0)."°");
ENDIF
ENDIF
ENDIF
EndEvent
?>