Hello! i wanted to know how to make this angle system...
I need make like this scheme:
IF( $AngleVelocity < 0 )
THEN
$AngleVelocity = -$AngleVelocity ;
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
closePrivButton( "anglerev&cangle");
#openPrivButton( "anglerev",169,136,20,17,1,-1,0,langEngine( "%{anglerev}%" , GetCurrentPlayerVar( "Angle_Reverse")));
ELSE
closePrivButton( "anglerev&angle");
#openPrivButton( "angle",169,136,20,17,1,-1,0,langEngine( "%{angle}%" , $AngleVelocity ));
ENDIF
IF( $AngleVelocity < 20 )
THEN
$AngleVelocity = -$AngleVelocity ;
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
closePrivButton( "anglerev&cangle");
#openPrivButton( "anglerev",169,136,20,17,1,-1,0,langEngine( "%{anglerev}%" , GetCurrentPlayerVar( "Angle_Reverse")));
ELSE
closePrivButton( "anglerev&angle");
#openPrivButton( "angle",169,136,20,17,1,-1,0,langEngine( "%{angle}%" , $AngleVelocity ));
ENDIF
i hope someone help me!
PICTURE in attachement
I need make like this scheme:
IF( $AngleVelocity < 0 )
THEN
$AngleVelocity = -$AngleVelocity ;
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
closePrivButton( "anglerev&cangle");
#openPrivButton( "anglerev",169,136,20,17,1,-1,0,langEngine( "%{anglerev}%" , GetCurrentPlayerVar( "Angle_Reverse")));
ELSE
closePrivButton( "anglerev&angle");
#openPrivButton( "angle",169,136,20,17,1,-1,0,langEngine( "%{angle}%" , $AngleVelocity ));
ENDIF
IF( $AngleVelocity < 20 )
THEN
$AngleVelocity = -$AngleVelocity ;
SetCurrentPlayerVar("Angle_Reverse",$AngleVelocity);
closePrivButton( "anglerev&cangle");
#openPrivButton( "anglerev",169,136,20,17,1,-1,0,langEngine( "%{anglerev}%" , GetCurrentPlayerVar( "Angle_Reverse")));
ELSE
closePrivButton( "anglerev&angle");
#openPrivButton( "angle",169,136,20,17,1,-1,0,langEngine( "%{angle}%" , $AngleVelocity ));
ENDIF
i hope someone help me!
PICTURE in attachement