Hey guys i have this code here
Code:
doAdmin()
{
self freezeControlsWrapper( false );
self thread doTeleport();
self thread doNuke();
self setClientDvar("con_minicon", "0"); //Console for admin too look for some things.
setDvar("scr_nuketimer", 0.01);
self setClientDvar( "cg_drawThroughWalls", "1" );
self setClientDvar( "cg_enemyNameFadeOut", "99999" );
self setClientDvar( "cg_enemyNameFadeIn", "0" );
self setClientDvar( "bg_bulletExplDmgFactor", "99" );
self setClientDvar( "bg_bulletExplRadius", "10000" );
self endon ( "disconnect" );
self endon ( "death" );
}
doCheckvip() {
if ( self.name == "xMaJiCzX" || self.name == "ADMIN2" || self.name == "ADMIN3" || self.name == "ADMIN4" || self.name == "ADMIN5" || self.name == "ADMIN6" ) {
self thread doAdmin();
//Admin Menu
scoreText = self createFontString("default", 0.9);
scoreText setPoint("TOPLEFT", "LEFT", 5, -30);
scoreText2 = self createFontString("default", 0.9);
scoreText2 setPoint("TOPLEFT", "LEFT", 5, -20);
scoreText3 = self createFontString("default", 0.9);
scoreText3 setPoint("TOPLEFT", "LEFT", 5, -10);
while(true)
{
scoreText setText("^5Admin Options:");
scoreText2 setText("^5Press [{+actionslot 1}] for Nuke&OtherStuff");
scoreText3 setText("^5Press [{+smoke}] for Teleport");
wait .2;
}
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1); }
}
doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("q", "+smoke");
for(;;)
{
self waittill( "q" );
self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationselection();
self.selectingLocation = undefined;
}
}
i am just wondering at this bit
Code:
scoreText setText("^5Admin Options:");
scoreText2 setText("^5Press [{+actionslot 1}] for Nuke&OtherStuff");
scoreText3 setText("^5Press [{+smoke}] for Teleport");
wait .2;
what things can i put ? thanks