[Remake] Anik's Developer Panel

Started by Rardodus Bruise, Jul 07, 2019, 12:21 PM

Previous topic - Next topic

Rardodus Bruise




I decided to remake Anik's Developer Panel! I started working on the script and fixed something that a beginner can't (Due to Lack of Knowledge), It was this :
case "SetShowNametags":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;
case "SetShowOnRadar":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;
case "SetStuntBike":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;
case "SetShowOnlyTeamMarkers":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;
case "SetTaxiBoostJump":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;
case "SetWallglitch":
if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );
MessagePlayer( "Status : "+string2, player );
break;

Minor View :

if ( string2 == "true" ) SetWallglitch( true );
else SetWallglitch( false );

SetWallglitch in more then 5 cases!





There are many changes in these 2 Developer Panel's, Some of them are listed below :

  • More Features Then The Old One Added 8 / Removed 4.
  • Difference in colors, looks more stylish.
  • Different Response & textures.
  • Zero Bugs / Working Perfectly.





Overlay



True/False Statement



Textbox









Anik


Sebastian

Quote from: Anik on Jul 07, 2019, 05:47 PMWhat kind of bugs it had?

He explained the bug, in the top of the post.
Seems like you copy-pasted the case "SetWallGlitch" many times, then just changed the string name without changing functions too.
So you ended having SetWallGlitch( true / false ) even for cases like SetShowOnlyTeamMarkers, SetTaxiBoostJump and so on.

Rardodus Bruise

Quote from: Sebastian on Jul 07, 2019, 10:03 PM
Quote from: Anik on Jul 07, 2019, 05:47 PMWhat kind of bugs it had?

He explained the bug, in the top of the post.
Seems like you copy-pasted the case "SetWallGlitch" many times, then just changed the string name without changing functions too.
So you ended having SetWallGlitch( true / false ) even for cases like SetShowOnlyTeamMarkers, SetTaxiBoostJump and so on.
Yep! You have used SetWallGlitch in many of the cases maybe because you were up to other things.