You are viewing our Forum Archives. To view or take place in current topics click here.
Help with code on jtag
Posted:
Help with code on jtagPosted:
Status: Offline
Joined: Dec 19, 200915Year Member
Posts: 56
Reputation Power: 2
im trying to let people pick different clan tags by pressing a button but its not working does my code look okay?
doClan()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; ) {
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now ****!");
self setClientDvar( "clanname", "****" );
}
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now DICK!");
self setClientDvar( "clanname", "DICK" );
}
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now ASS!");
self setClientDvar( "clanname", "ASS" );
}
}
}
doClan()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; ) {
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now ****!");
self setClientDvar( "clanname", "****" );
}
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now DICK!");
self setClientDvar( "clanname", "DICK" );
}
self waittill( "dpad_up" ); {
self iPrintlnBold("^1Your Clan Tag is now ASS!");
self setClientDvar( "clanname", "ASS" );
}
}
}
You are viewing our Forum Archives. To view or take place in current topics click here.