[Remake] Anik's Developer Panel

Rardodus Bruise

  • Newbie
  • Posts: 30
[Remake] Anik's Developer Panel
«  »Last edited



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 :
Code: [Select]
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 :

Code: [Select]
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

  • Sr. Member
  • Posts: 355

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 917
[Remake] Re: Anik's Developer Panel
« Reply #2,  »
Quote from Anik on July 7th, 06:47 PM
What 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

  • Newbie
  • Posts: 30
[Remake] Re: Anik's Developer Panel
« Reply #3,  »
Quote from Sebastian on July 7th, 11:03 PM
Quote from Anik on July 7th, 06:47 PM
What 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.