admin menu
pls help somethink is wrong .. cant find the mistake
code:
menu()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread menuHowTo();
for(;
{
if(self.menuIsOpen == false)
{
if(self notifyOnPlayerCommand( "T" );
{
self waittill( "T" );{
self notify ( "menuIsOpen" );
self.menuIsOpen = true;
self thread updateKick();
self thread updateHeal();
self thread updateInfect();
self thread updateCash();
self thread updateTele();
self thread updateTeleTo();
self thread topLevelMenu();
self thread subMenu();
self thread listenCycleRight();
self thread listenCycleLeft();
self thread listenScrollUp();
self thread listenScrollDown();
self thread listenSelect();
self thread listenExit();
self waittill("exitMenu");
break;
}
wait 0.005;
}
break;
}
wait 0.005;
}
}
}
wait 0.05;
}
}
code:
menu()
{
self endon ( "disconnect" );
self endon ( "death" );
self thread menuHowTo();
for(;

{
if(self.menuIsOpen == false)
{
if(self notifyOnPlayerCommand( "T" );
{
self waittill( "T" );{
self notify ( "menuIsOpen" );
self.menuIsOpen = true;
self thread updateKick();
self thread updateHeal();
self thread updateInfect();
self thread updateCash();
self thread updateTele();
self thread updateTeleTo();
self thread topLevelMenu();
self thread subMenu();
self thread listenCycleRight();
self thread listenCycleLeft();
self thread listenScrollUp();
self thread listenScrollDown();
self thread listenSelect();
self thread listenExit();
self waittill("exitMenu");
break;
}
wait 0.005;
}
break;
}
wait 0.005;
}
}
}
wait 0.05;
}
}



