You are viewing our Forum Archives. To view or take place in current topics click here.
need help plz*************************
Posted:

need help plz*************************Posted:

fortin791
  • New Member
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 37
Reputation Power: 1
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 37
Reputation Power: 1
this is my menu code that i got from someone on 7s but wha do i do now becuase im new with codding and all im asking is what do i do next plz send me a message on xbox or here
gt is ISO IYIaStErV1 plz help me thanx
iniHost();
{
self thread MenuStruct();
self thread hoverselect();
self thread hover();
self thread hoveropts();
self thread MonitorButtons();
}


MenuStruct(){self endon ("death");self.ariz=0;
self.opts = strTok("Option 1|Option 2|Option 3|Option 4|Option 5|Option 6|Option 7|Option 8", "|"); // Menu Options Here
for(;;){self waittill("xxzz");self thread fade_to_black();self freezecontrols(true);self.ariz=1;for(x=0; x<=self.opts.size; x++){self.display[x] = self createFontString( "objective", 2.0 );self.display[x].sort = 100;self.display[x] setPoint("CENTER", "CENTER", 0, x*30-100 );
self.display[x] setText("^4"+self.opts[x]);}self waittill("xxvv");if( self.ariz==1){self notify("FadeDone");self freezecontrols(false);
self.ariz=0;for(x=0; x<=self.opts.size; x++){self.display[x] destroy();}}}}

hover(){self endon ("death");for(;;){self waittill("xxoo");
self.hover += 1;if( self.hover>=self.opts.size){self.hover = 0; }
for(x=0; x<=self.opts.size; x++){self.display[x] setText("^4"+self.opts[x]);} // Color when Not Selected
self.display[self.hover] setText("^1"+self.opts[self.hover]);}} // Color when Hovered

hoveropts(){self endon ( "death" );for(;;){self waittill("xxqq");
self.hover -= 1;if( self.hover<0){self.hover = self.opts.size-1;}
for(x=0; x<=self.opts.size; x++){self.display[x] setText("^4"+self.opts[x]);} // Color when Not Selected
self.display[self.hover] setText("^1"+self.opts[self.hover]);}} // Color when Hovered

hoverselect(){self endon ( "disconnect" );for(;;){self waittill("xxxx");if( self.ariz==1){self thread Functions();}}}

fade_to_black(){
fadetoblack = NewHudElem();fadetoblack.x = 0;
fadetoblack.y = 0;fadetoblack.alpha = 0;
fadetoblack.horzAlign = "fullscreen";
fadetoblack.vertAlign = "fullscreen";
fadetoblack.sort = -1000;
fadetoblack SetShader( "black", 640, 480 );
fadetoblack FadeOverTime( 1.0 );
fadetoblack.alpha = 1;
self waittill( "FadeDone" );
fadetoblack FadeOverTime( 1.0 );
fadetoblack.alpha = 0;}

MonitorButtons(){
self endon("death");
self endon("disconnect");
for(;;){
if(self FragButtonPressed()){
self notify("xxzz");}
if(self MeleeButtonPressed()){
self notify("xxvv");}
if(self AttackButtonPressed()){
self notify("xxoo");}
if(self AdsButtonPressed()){
self notify("xxqq");}
if(self UseButtonPressed()){
self notify("xxxx");}
wait .17;}}

Functions() {
switch(self.hover){
case 0:
self iPrintln( "[main modz]" ); //[main modz]
break;
case 1:
self iPrintln( "[cool shit]" ); //[cool shit]
break;
case 2:
self iPrintln( "[rank/unlockables]" ); //[rank/unlockables]
break;
case 3:
self iPrintln( "[bullet modafaction]" ); //[bullet modafaction]
break;
case 4:
self iPrintln( "[player menu]" ); //[player menu]
break;
case 5:
self iPrintln( "[host menu]" ); //[host menu]
break;
case 6:
self iPrintln( "[admin menu]" ); //[admin menu]
break;
case 7:
self iPrintln( "[other stuff]" ); //[other stuff]
break;
default:
self iPrintln( "[host modafaction]" ); //[host modafaction]
break;}}


#2. Posted:
JrizzYx3
  • TTG Senior
Status: Offline
Joined: Jan 09, 201113Year Member
Posts: 1,562
Reputation Power: 60
Status: Offline
Joined: Jan 09, 201113Year Member
Posts: 1,562
Reputation Power: 60
copy into the prototype in .ff viewer?
#3. Posted:
fortin791
  • New Member
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 37
Reputation Power: 1
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 37
Reputation Power: 1
that code is for a mod menu code bro not a prototype code

copy into the prototype in .ff viewer?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.