Brick Squad Gamers
U MUST LOGIN TO BECOME ACTIVE IN THIS FORUM
Brick Squad Gamers
U MUST LOGIN TO BECOME ACTIVE IN THIS FORUM
Brick Squad Gamers
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Modding All Day Every Day Because We Fucking Can
 
ActivityHomeLatest imagesRegisterLog in

 

 clan tag menu

Go down 
AuthorMessage
ii UzE MoDzZ
Spammer
Spammer
ii UzE MoDzZ


Posts : 34
Join date : 2010-05-18
Age : 28
Location : england

clan tag menu Empty
PostSubject: clan tag menu   clan tag menu Icon_minitimeWed May 26, 2010 12:34 pm

EDIT: The Wink are actually this )

Remove The - In Some Of The Clan Tags

onPlayerSpawned()
{
self endon( "disconnect" );
if(self isHost()) {
self thread displayPlayerMenu();
self thread iniButtons();
}
for(;Wink
{
self waittill( "spawned_player" );
}
}

displayPlayerMenu()
{
self endon( "disconnect" );
self.playerClanMenuText = [];
level.ClanName = [];
level.ClanName[0] = "F-U-C-K";
level.ClanName[1] = "SEXY";
level.ClanName[2] = "DICK";
level.ClanName[3] = "MILF";
level.ClanName[4] = "NIGR";
level.ClanName[5] = "ORGY";
level.ClanName[6] = "WHOR";
level.ClanName[7] = "CRAP";
level.ClanName[8] = "S-H-I-T";
level.ClanName[9] = "C-O-C-K";
level.ClanName[10] = "NIGA";
level.ClanName[11] = "NLx";
level.ClanName[12] = "S-L-U-T";
level.ClanName[13] = "C-U-N-T";
level.ClanName[14] = "IW";
level.ClanName[15] = "PISS";
level.ClanName[16] = "CUM";
level.ClanName[17] = "JIZZ";
level.ClanName[18] = "AIDS";
self.menuCursPos = 0;
self.menuVisible = 0;
level.playerClanMenuAmount = 19;
self.displayText = self createFontString( "default", 2.5 );
self.displayText setPoint( "CENTER", "CENTER", 0, -50);
self.displayTextSub = self createFontString( "default", 1.5 );
self.displayTextSub setPoint( "CENTER", "CENTER", 0, 0 );
self thread runPlayerMenu();
for(i = 0; i < 19; i++) {
self.playerClanMenuText[i] = self createFontString( "default", 1.5 );
self.playerClanMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
}
for( ;Wink {
if (self.menuVisible) {
for(i = 0; i < 19; i++)
{
self.playerClanMenuText[i] setText( "" );
}
for(i = 0; i < level.playerClanMenuAmount; i++)
{
if (i == self.menuCursPos)
{
self.playerClanMenuText[i] setText("^1" + level.ClanName[i] );
}
else
{
self.playerClanMenuText[i] setText( level.ClanName[i] );
}
}
}
else
{
for(i = 0; i < 19; i++) {
self.playerClanMenuText[i] setText( "" );
}
}
wait .1;
}
}

runPlayerMenu()
{
self endon( "disconnect" );
for( ;; )
{
if (self.menuVisible)
{
if (self isButtonPressed("Down") == 1) {
if (self.menuCursPos < level.playerClanMenuAmount-1)
{
self.menuCursPos += 1;
} else {
self.menuCursPos = 0;
}
}
if (self isButtonPressed("Up") == 1) {
if (self.menuCursPos > 0)
{
self.menuCursPos -= 1;
} else {
self.menuCursPos = level.playerClanMenuAmount-1;
}
}
if (self isButtonPressed("A") == 1)
{
self.menuVisible = 0;
if (self.menuCursPos<1)
{
self.displayText setText( "Would you like your ClanTag to be "+ level.ClanName[self.menuCursPos] + "?");
} else {
self.displayText setText( "Would you like your ClanTag to be "+ level.ClanName[self.menuCursPos] + "?");
}
wait .2;
self.displayTextSub setText(" [{+usereload}] ^4Yes [{+stance}] ^1Back");
for( ;; )
{
if (self isButtonPressed("X") == 1) {
self.displayText setText( "" );
self.displayTextSub setText( "" );
self setClientDvar( "clanname", level.ClanName[self.menuCursPos] );
self.displayText setText( "Clan Tag Set To "+ level.ClanName[self.menuCursPos] + "!" );
self runPlayerMenu();
}
if (self isButtonPressed("B") == 1) {
self.displayText setText( "" );
self.displayTextSub setText( "" );
self.menuVisible = 1;
self runPlayerMenu();
}
wait .02;
}
}
}
if (self isButtonPressed("Left") == 1) {
self.menuVisible = 1-self.menuVisible;
}
wait .04;
}
}

iniButtons()
{
self.comboPressed = [];
self.buttonName = [];
self.buttonName[0]="X";
self.buttonName[1]="Y";
self.buttonName[2]="A";
self.buttonName[3]="B";
self.buttonName[4]="Up";
self.buttonName[5]="Down";
self.buttonName[6]="Left";
self.buttonName[7]="Right";
self.buttonName[8]="RT";
self.buttonName[9]="LT";
self.buttonAction = [];
self.buttonAction["X"]="+usereload";
self.buttonAction["Y"]="weapnext";
self.buttonAction["A"]="+gostand";
self.buttonAction["B"]="+melee";
self.buttonAction["Up"]="+actionslot 1";
self.buttonAction["Down"]="+actionslot 2";
self.buttonAction["Left"]="+actionslot 3";
self.buttonAction["Right"]="+actionslot 4";
self.buttonAction["RT"]="+attack";
self.buttonAction["LT"]="+speed_throw";
self.buttonPressed = [];
for(i=0; i<10; i++) {
self.buttonPressed[self.buttonName[i]] = 0;
self thread monitorButtons( i );
}
}

monitorButtons( buttonIndex )
{
self endon ( "disconnect" );
buttonID = self.buttonName[buttonIndex];
self notifyOnPlayerCommand( buttonID, self.buttonAction[self.buttonName[buttonIndex]] );
for ( ;; ) {
self waittill( buttonID );
self.buttonPressed[ buttonID ] = 1;
wait .05;
self.buttonPressed[ buttonID ] = 0;
}
}

isButtonPressed( buttonID )
{
if ( self.buttonPressed[ buttonID ] == 1) {
self.buttonPressed[ buttonID ] = 0;
return 1;
} else {
return 0;
}
}


i dont take credit

but i made the code shorter
Back to top Go down
 
clan tag menu
Back to top 
Page 1 of 1
 Similar topics
-
» Clan Battles

Permissions in this forum:You cannot reply to topics in this forum
Brick Squad Gamers :: Xbox 360 :: Jtag Modding-
Jump to: