Sorry, but being trully pedantic here, you should change items 15 and 16 round.
CatchEvent OnDisConnect( $userName, $reason )
...
DEFAULT:
$Amount = ToNum( $Refund["amount"] * ToNum( GetCurrentPlayerVar("BonusMeter") / $Refund["dist"] ) );
IF($Amount > 1 )
THEN
IF( GetCurrentPlayerVar( "PitSafe" ) == "1" ) THEN
globalMsg( strFormat( "^7{0} Recived {1:C} ^1Reason: ^7Distance bonus",$userName,$Amount ) );
SetCurrentPlayerVar( "Cash", ToNum( GetCurrentPlayerVar( "Cash" ) + $Amount ) );
ELSE
globalMsg( strFormat( "^7{0} Recived {1:C} ^1Reason: ^7Distance bonus",$userName,ToNum( 500 + $Amount ) ) );
SetCurrentPlayerVar( "Cash", ToNum( GetCurrentPlayerVar( "Cash" ) + ToNum( 500 + $Amount ) [COLOR=Red][B])[/B][/COLOR] );
ENDIF
ENDIF