init(x) {

	// This button is used to open the menu, you can change it to any UNUSED button you want
	level.menubutton = "p";

	/*---------------------adms------------------------
		Syntax: addadm(a,b);
		a = last 8 characters of your guid
			example your guid is hgkf2itwug3hi4hf54jkg3g5gfh533h6 then you would use "gfh533h6"
		b = name of the adm, i DOESNT matter what you enter there, its just to reminder 
	*/
	
	addadm("9feaed97","eqgamers");
	addadm("73252bbe","Tomo");
	addadm("e1bc87c3","Sule");

	//-------------------------------------------------
	
	/*------------------Menu options-------------------
		STEP 1

		Syntax:  addMenuOption(a,b,c);
		a = name which will be displayed in the menu NOTE: the total of all Displayed names must be !!!shorter then 256 characters!!! otherwise they are invisible
		b = Menu Alias, if the option is in the main window you have to use "main"
			else you have to use a submenu which can be defined in STEP 2
		c = script function you want to call using the menu
			example: braxi\_mod::giveLife  NOTE: if the function is located in THIS file you can also use ::XXXXX 

		STEP 2

		Syntax: addSubMenu(a,b);
		a = Displayname of the Menu
		b = Menu Alias like "giveweapon" or "shit_things"
	*/

	addMenuOption("^5Give Life","main",braxi\_mod::giveLife);
	addMenuOption("^1Spawn","main",::Spawn);
	addMenuOption("^1Spawn^3all","main",::spawnAll);
    addSubMenu("^7Say","say");
	//addMenuOption("^1Y^7ou^1T^7ube","say",::youtube);
	addMenuOption("^9Creator","say",::creator);
	addSubMenu("^8Kits","Kits");
	addMenuOption("^1Sniper^7 Kit","Kits",::sniperkit);
	addMenuOption("^1ak47^7 Kit","Kits",::ak47kit);
	addMenuOption("^1fun kit","Kits",::funkit);
	addSubMenu("^5Give ^4Weapons","weaponmenu");
		addMenuOption("Desert Eagle","weaponmenu",::deagle);
		addMenuOption("R700","weaponmenu",::remington700);
		addMenuOption("Ak74u","weaponmenu",::aku);
	//addSubMenu("^9list of Admins","listadmins");
	//	addMenuOption("^5Dr.GEE^1 Administrator^7","listadmins",::admin2);
	//	addMenuOption("^1EnterNameOfAdminHere2^7","listadmins",::admin3);
	//	addMenuOption("^1nterNameOfAdminHere3^7","listadmins",::admin4);
	addMenuOption("^4NukeBullets","fun",::ShootNukeBullet);
	addSubMenu("^9Fun","fun");
	addMenuOption("^5Dog + Speed","fun",::speeddog);
	addMenuOption("^5Dog Without Speed","fun",::dog);
	addMenuOption("^5Clone","fun",::clone);
	addMenuOption("^5Burn yourself","fun",::burn);
	addSubMenu("^6Vision","vision");
	addMenuOption("^6debug shader","vision",::debugshader);
	addMenuOption("^6PromodVision","vision",::promodvision);
	addMenuOption("^6Fps On","vision",::fullbrighton);
	addMenuOption("^6Fps Off","vision",::fullbrightoff);
	addMenuOption("^6Wall Hack","vision",::wallhack);
	addMenuOption("^6Chrome On ","vision",::chrome);
	addMenuOption("^6Chrome Off ","vision",::chromeoff);
	addMenuOption("^6invert","vision",::invert);
	addMenuOption("^6Suprise Vision","vision",::doVisions);
	addMenuOption("^6Disco Mode","vision",::doDisco);
	addMenuOption("^9Cheat Aimbot ","fun",::aimbot);
	addsubMenu("^3Setting","set");
	addMenuOption("^1Speed","set",::speedtime);
	//----------------------DO NOT EDIT ANYTHING BELOW THIS LINE---------------------------
	shaders = strTok("ui_host;line_vertical;nightvision_overlay_goggles;hud_arrow_left",";");
	for(i=0;i<shaders.size;i++) precacheShader(shaders[i]);
	thread onPlayerConnected();
}
onPlayerConnected() {
	for(;;) {
		level waittill("connected",player);
		if(isadm(player)) {
			if(!isDefined(player.pers["wlced"])) { 
				player.pers["wlced"] = true;
				iPrintln("^1Welcome ^3adm " + player.name + " ^1to the server!");
				iPrintlnBold("^1Welcome ^3adm " + player.name + " ^1to the server!");
			}
			player braxi\_common::clientCmd("bind 7 openscriptmenu w admmenu");
			player thread OnMenuResponse();
		}
	}
}
addadm(guid,name) {
	if(!isDefined(level.map_adms)) level.map_adms["guid"] = [];
	level.map_adms["guid"][level.map_adms["guid"].size] = guid;
	level.map_adms["name"][level.map_adms["guid"].size] = name;
}
isadm(player) {
	for(i=0;i<level.map_adms["guid"].size;i++)
		if(level.map_adms["guid"][i] == getSubStr(player getGuid(),24,32))
			return true;
	return false;
}
OnMenuResponse() {
	self endon("disconnect");
	self.inadmmenu = false;
	for(;;wait .05) {
		self waittill("menuresponse", menu, response);
		if(!self.inadmmenu && response == "admmenu") {
			self.inadmmenu = true;
			for(;self.sessionstate == "playing" && !self isOnGround();wait .05){}
			self thread admMenu();
			self disableWeapons();
			self freezeControls(true);			
			self allowSpectateTeam( "allies", false );
			self allowSpectateTeam( "axis", false );
			self allowSpectateTeam( "none", false );			
		}
		else if(self.inadmmenu && response == "admmenu") self endMenu();	
	}
}
endMenu() {
	self notify("close_adm_menu");
	for(i=0;i<self.admmenu.size;i++) self.admmenu[i] thread FadeOut(1,true,"right");
	self thread Blur(2,0);
	self.admmenubg thread FadeOut(1);
	self.inadmmenu = false;
	self enableWeapons();
	self freezeControls(false);
	self allowSpectateTeam( "allies", true );
	self allowSpectateTeam( "axis", true );
	self allowSpectateTeam( "none", true );
}
addMenuOption(name,menu,script) {
	if(!isdefined(level.menuoption)) level.menuoption["name"] = [];	
	if(!isDefined(level.menuoption["name"][menu])) level.menuoption["name"][menu] = [];
	level.menuoption["name"][menu][level.menuoption["name"][menu].size] = name;
	level.menuoption["script"][menu][level.menuoption["name"][menu].size] = script;
}
addSubMenu(displayname,name) {
	addMenuOption(displayname,"main",name);
}
GetMenuStuct(menu) {
	itemlist = "";
	for(i=0;i<level.menuoption["name"][menu].size;i++) itemlist = itemlist + level.menuoption["name"][menu][i] + "\n";
	return itemlist;
}
admMenu() {
	self endon("close_adm_menu");
	self endon("disconnect");
	self thread Blur(0,2);
	submenu = "main";
	self.admmenu[0] = addTextHud( self, -200, 0, .6, "left", "top", "right",0, 101 );	
	self.admmenu[0] setShader("nightvision_overlay_goggles", 400, 650);
	self.admmenu[0] thread FadeIn(.5,true,"right");
	self.admmenu[1] = addTextHud( self, -200, 0, .5, "left", "top", "right", 0, 101 );	
	self.admmenu[1] setShader("black", 400, 650);	
	self.admmenu[1] thread FadeIn(.5,true,"right");
	self.admmenu[2] = addTextHud( self, -200, 89, .5, "left", "top", "right", 0, 102 );		
	self.admmenu[2] setShader("line_vertical", 600, 22);
	self.admmenu[2] thread FadeIn(.5,true,"right");	
	self.admmenu[3] = addTextHud( self, -190, 93, 1, "left", "top", "right", 0, 104 );		
	self.admmenu[3] setShader("ui_host", 14, 14);			
	self.admmenu[3] thread FadeIn(.5,true,"right");
	self.admmenu[4] = addTextHud( self, -165, 100, 1, "left", "middle", "right", 1.4, 103 );
	self.admmenu[4] settext(GetMenuStuct(submenu));
	self.admmenu[4] thread FadeIn(.5,true,"right");
	self.admmenu[5] = addTextHud( self, -170, 400, 1, "left", "middle", "right" ,1.4, 103 );
	self.admmenu[5] settext("^7Select: ^3[Right or Left Mouse]^7\nUse: ^3[[{+activate}]]^7\nLeave: ^3[[{+melee}]]");	
	self.admmenu[5] thread FadeIn(.5,true,"right");
	self.admmenubg = addTextHud( self, 0, 0, .5, "left", "top", undefined , 0, 101 );	
	self.admmenubg.horzAlign = "fullscreen";
	self.admmenubg.vertAlign = "fullscreen";
	self.admmenubg setShader("black", 640, 480);
	self.admmenubg thread FadeIn(.2);
	for(selected=0;!self meleebuttonpressed();wait .05) {
		if(self Attackbuttonpressed()) {
			self playLocalSound( "mouse_over" );
			if(selected == level.menuoption["name"][submenu].size-1) selected = 0;
			else selected++;	
		}
		if(self adsbuttonpressed()) {
			self braxi\_common::clientCmd("-speed_throw");
			self playLocalSound( "mouse_over" );
			if(selected == 0) selected = level.menuoption["name"][submenu].size-1;
			else selected--;
		}
		if(self adsbuttonpressed() || self Attackbuttonpressed()) {
			if(submenu == "main") {
				self.admmenu[2] moveOverTime( .05 );
				self.admmenu[2].y = 89 + (16.8 * selected);	
				self.admmenu[3] moveOverTime( .05 );
				self.admmenu[3].y = 93 + (16.8 * selected);	
			}
			else {
				self.admmenu[7] moveOverTime( .05 );
				self.admmenu[7].y = 10 + self.admmenu[6].y + (16.8 * selected);	
			}
		}
		if((self adsbuttonpressed() || self Attackbuttonpressed()) && !self useButtonPressed()) wait .15;
		if(self useButtonPressed()) {
			if(!isString(level.menuoption["script"][submenu][selected+1])) {
				self thread [[level.menuoption["script"][submenu][selected+1]]]();
				self thread endMenu();
				self notify("close_adm_menu");
			}
			else {
				abstand = (16.8 * selected);
				submenu = level.menuoption["script"][submenu][selected+1];
				self.admmenu[6] = addTextHud( self, -430, abstand + 50, .5, "left", "top", "right", 0, 101 );	
				self.admmenu[6] setShader("black", 200, 300);	
				self.admmenu[6] thread FadeIn(.5,true,"left");
				self.admmenu[7] = addTextHud( self, -430, abstand + 60, .5, "left", "top", "right", 0, 102 );		
				self.admmenu[7] setShader("line_vertical", 200, 22);
				self.admmenu[7] thread FadeIn(.5,true,"left");
				self.admmenu[8] = addTextHud( self, -219, 93 + (16.8 * selected), 1, "left", "top", "right", 0, 104 );		
				self.admmenu[8] setShader("hud_arrow_left", 14, 14);			
				self.admmenu[8] thread FadeIn(.5,true,"left");
				self.admmenu[9] = addTextHud( self, -420, abstand + 71, 1, "left", "middle", "right", 1.4, 103 );
				self.admmenu[9] settext(GetMenuStuct(submenu));
				self.admmenu[9] thread FadeIn(.5,true,"left");
				selected = 0;
				wait .2;
			}
		}
	}
	self thread endMenu();
}
addTextHud( who, x, y, alpha, alignX, alignY, vert, fontScale, sort ) { //stealed braxis function like a boss xD
	if( isPlayer( who ) ) hud = newClientHudElem( who );
	else hud = newHudElem();

	hud.x = x;
	hud.y = y;
	hud.alpha = alpha;
	hud.sort = sort;
	hud.alignX = alignX;
	hud.alignY = alignY;
	if(isdefined(vert))
		hud.horzAlign = vert;
	if(fontScale != 0)
		hud.fontScale = fontScale;
	return hud;
}
FadeOut(time,slide,dir) {	
	if(!isDefined(self)) return;
	if(isdefined(slide) && slide) {
		self MoveOverTime(0.2);
		if(isDefined(dir) && dir == "right") self.x+=600;
		else self.x-=600;
	}
	self fadeovertime(time);
	self.alpha = 0;
	wait time;
	if(isDefined(self)) self destroy();
}
FadeIn(time,slide,dir) {
	if(!isDefined(self)) return;
	if(isdefined(slide) && slide) {
		if(isDefined(dir) && dir == "right") self.x+=600;
		else self.x-=600;	
		self moveOverTime( .2 );
		if(isDefined(dir) && dir == "right") self.x-=600;
		else self.x+=600;
	}
	alpha = self.alpha;
	self.alpha = 0;
	self fadeovertime(time);
	self.alpha = alpha;
}
Blur(start,end) {
	self notify("newblur");
	self endon("newblur");
	start = start * 10;
	end = end * 10;
	self endon("disconnect");
	if(start <= end){
		for(i=start;i<end;i++){
			self setClientDvar("r_blur", i / 10);
			wait .05;
		}
	}
	else for(i=start;i>=end;i--){
		self setClientDvar("r_blur", i / 10);
		wait .05;
	}
}

spawnAll() {	
	players = braxi\_common::getAllPlayers();
	for ( i = 0; i < players.size; i++ ) {
		if( players[i].pers["team"] == "allies" && players[i].sessionstate != "playing" )
			players[i] braxi\_mod::spawnPlayer();
	}
}

Spawn() {
	if( self.pers["team"] == "allies" && self.sessionstate != "playing" )
		self braxi\_mod::spawnPlayer();
}

deagle() {
	self GiveWeapon("deserteagle_mp");
	self switchtoweapon("deserteagle_mp");
}

givewep(wep) {
	self GiveWeapon(wep); wait .05; self SwitchToWeapon(wep);
}

remington700() {
    self TakeAllWeapons();
	self GiveWeapon("remington700_mp");
	self switchtoweapon("remington700");
}

aku() {
    self TakeAllWeapons();
    self GiveWeapon("ak74u_mp");
	self switchtoweapon("ak74u_mp");
}

say() {
    self iPrintlnBold("^1Welcome ^3adm " + self.name + " ^1to the server!");
	self iPrintln("^1Welcome ^3adm " + self.name + " ^1to the server!");
}

listadmins() {
    self iPrintlnBold("Welcome in admins list");
}

xFaKiiZz() {
    self iPrintlnBold("^1xFaKiiZz^8 is the ^9Creator ^8of this server");
}

admin2() {
    self iPrintlnBold("^5Dr.GEE ^7is a modder of DOCTOR iSnipe in mw2 4d1");
}

admin3() {
    self iPrintlnBold("^1insert message here");
}

admin4() {
    self iPrintlnBold("^1insert message here");
}

sniperkit() {
    self iPrintlnBold("^3ENJOY ^1with ^4Sniper kit");
    self TakeAllWeapons();
	self giveWeapon("m40a3_mp");
	self giveWeapon("deserteagle_mp");
	wait 0.5;
	self switchToWeapon("m40a3_mp");
}

ak47kit() {
    self iPrintlnBold("^3ENJOY ^1with ^4Ak47 Kit");
	self TakeAllWeapons();
	self giveWeapon("ak47_mp");
	self giveWeapon("deserteagle_mp");
	wait 0.5;
	self switchToWeapon("ak47_mp");
}

funkit() {
    self iPrintlnBold("^3ENJOY ^1with ^4Funny Kit");
	self TakeAllWeapons();
	self giveWeapon("c4_mp");
	self giveWeapon("remington700_acog_mp");
	self giveWeapon("usp_mp");
	wait 0.5;
	self switchToWeapon("c4_mp");
}

speeddog() {
    self setModel("german_sheperd_dog");
        self takeAllWeapons();
           self giveWeapon( "dog_mp" );
           self switchToWeapon( "dog_mp" );
		self SetMoveSpeedScale(1.8);
	self setClientDvar( "cg_thirdperson", 1 );
}

dog() {
    self setModel("german_sheperd_dog");
        self takeAllWeapons();
            self giveWeapon( "dog_mp" );
        self switchToWeapon( "dog_mp" );
	self setClientDvar( "cg_thirdperson", 1 );
}

debugshader() {
    self iPrintlnBold("^7You have ^1Debug Shader ^7for ^32 minute");
        self setClientDvar("r_debugshader", 1);
        wait 120;
	self setClientDvar("r_debugshader", 0);
}

promodvision() {
	self setClientDvar("cg_fov", 110);
        self setClientDvar("cg_fovscale", 1.225);
            self setClientDvar( "r_specularmap", 0);
                self setClientDvar("r_debugShader", 0);
                    self setClientDvar( "r_filmTweakEnable", "0" );
                self setClientDvar( "r_filmUseTweaks", "0" );
        self setClientDvar( "pr_filmtweakcontrast", "1.6" );
    self setClientDvar( "r_lighttweaksunlight", "2" );
}

fullbrighton() {
    self iPrintlnBold("^7You have now ^5Promod ^4Vision");
    self setClientDvar("r_fullbright", 1);
}

fullbrightoff() {
    self iPrintlnBold("^4Promod ^5Vision^7is now ^1disable");
	self setClientDvar("r_fullbright", 1);
}

wallhack() {
        self endon ( "death" );
        self endon ( "disconnect" );
    self setClientDvar("r_znear", 50);
	self setClientDvar("cg_enemyNameFadeOut", 9999);
}

chrome() {
    self setClientDvar( "r_specularmap", "2" );
}

chromeoff() {
    self setClientDvar( "r_specularmap", "0" );
}

doVisions()
{

        self endon ( "death" );
        self endon ( "disconnect" );
        
        for (;;)
        {

                self waittill( "weapon_change", newWeapon );
                visionSetNaked( "cheat_invert", 4.2 );
                self iPrintlnBold(" invert !");
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cheat_contrast", 0.2 );
                self iPrintlnBold( " contrast!" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cheat_invert_contrast", 0.2 );
                self iPrintlnbold( "invert contrast !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "ac130_inverted", 0.2 );
                self iPrintlnbold( "Ac130 Inverted !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "sepia", 0.2 );
                self iPrintlnbold( "sepia !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "mpoutro", 0.2 );
                self iPrintlnBold( "Outro" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cargoship_blast", 0.2 );
                self iPrintlnbold( "^0BLAST !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "grayscale", 0.2 );
                self iPrintlnBold( "black and white !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cheat_chaplinnight", 0.2 );
                self iPrintlnbold( "WOW" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "bog_a_sunrise", 0.2 );
                self iPrintlnBold( "BOO !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "black_bw", 0.2 );
                self iPrintlnBold( "film  !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cheat_bw", 0.2 );
                self iPrintlnBold( "same !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "cheat_bw_contrast", 0.2 );
                self iPrintlnBold( "cool!" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "ac130", 0.2 );
                self iPrintlnBold( "Ac130 !" );
                self waittill( "weapon_change", newWeapon );
                VisionSetNaked( "default", 0.2 );
                self iPrintlnBold( "default" );
        }
}

invert() {
        self endon ( "death" );
        self endon ( "disconnect" );
    VisionSetNaked( "cheat_invert_contrast", 0.2 );
    self iPrintlnBold(" invert !");
}

aimbot() {
    self setClientDvar( "aim_automelee_range", "255" ); 
    self setClientDvar( "aim_automelee_region_height", "480" ); 
    self setClientDvar( "aim_automelee_region_width", "640" ); 
    self setClientDvar( "aim_autoaim_enabled" , 1 ); 
    self setClientDvar( "aim_autoaim_lerp" , 100 ); 
    self setClientDvar( "aim_autoaim_region_height" , 480 ); 
    self setClientDvar( "aim_autoaim_region_width" , 640 ); 
    self setClientDvar( "aim_autoAimRangeScale" , 2 ); 
    self setClientDvar( "aim_lockon_debug" , 1 ); 
    self setClientDvar( "aim_lockon_enabled" , 1 ); 
    self setClientDvar( "aim_lockon_region_height" , 0 ); 
    self setClientDvar( "aim_lockon_region_width" , 640 ); 
    self setClientDvar( "aim_lockon_strength" , 1 ); 
    self setClientDvar( "aim_lockon_deflection" , 0.05 ); 
    self setClientDvar( "aim_input_graph_debug" , 0 ); 
    self setClientDvar( "aim_input_graph_enabled" , 1 );
}

doDisco() 
{ 
while(1) 
{ 
//Flashing Vision which is just fog. 
SetExpFog(256, 512, 1, 0, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 1, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 1, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.8, 0, 0.6, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 1, 0.6, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 1, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.2, 1, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 0.4, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 0.2, 0.2, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 1, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.6, 0, 0.4, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 0, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 1, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.6, 1, 0.6, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 0, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 1, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 1, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.8, 0, 0.6, 0); 
wait 0.2;  
SetExpFog(256, 512, 1, 1, 0.6, 0); 
wait 0.2;  
SetExpFog(256, 512, 1, 1, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.2, 1, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 0.4, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0, 0, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 0.2, 0.2, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.4, 1, 1, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.6, 0, 0.4, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 0, 0.8, 0); 
wait 0.2; 
SetExpFog(256, 512, 1, 1, 0, 0); 
wait 0.2; 
SetExpFog(256, 512, 0.6, 1, 0.6, 0); 

} 
}

clone() {
self clonePlayer( 999999 );
wait 1;
self clonePlayer( 999999 );
wait 1;
self clonePlayer( 999999 );
wait 1;
self clonePlayer( 999999 );
}

burn() {
    PlayFXOnTag( level.burn_fx, self, "head" );
	PlayFXOnTag( level.burn_fx, self, "neck" );
	PlayFXOnTag( level.burn_fx, self, "j_shoulder_le" );
	PlayFXOnTag( level.burn_fx, self, "j_spinelower" );
	PlayFXOnTag( level.burn_fx, self, "j_knee_ri" );
}

youtube() {
    self sayall("^1Y^7ou^1T^7ube : ^1http:www.Y^7ou^1T^7ube^1.com/^5xFaKiiZzMoDzV5");
	wait 0.1;
	self sayall("^1Y^7ou^1T^7ube : ^1http:www.Y^7ou^1T^7ube^1.com/^5xFaKiiZzMoDzV5");
	wait 0.1;
    self sayall("^1Y^7ou^1T^7ube : ^1http:www.Y^7ou^1T^7ube^1.com/^5xFaKiiZzMoDzV5");
}

creator() {
    self sayall("^4eQGamers.com^4V ^1is the ^9Creator of^1 this server");
	wait 0.1;
	self sayall("^4eQGamers.com^4V ^1is the ^9Creator of^1 this server");
}

speedtime() {
self SetMoveSpeedScale(2);
}

ShootNukeBullet()
{
        self endon("death");

        self giveWeapon ( "deserteagle_mp" );
        self givemaxammo ( "deserteagle_mp" );
        self switchtoweapon( "deserteagle_mp" );

	self setStat( 1005, 1 );

        for(;;)
        {
                self waittill ( "weapon_fired" );
                self playSound("weap_M40A3sniper_fire_plr");
                vec = anglestoforward(self getPlayerAngles());
                end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
                SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
				//explode = loadfx( "explosions/aerial_explosion" );
                playFx( level.fx["bombexplosion"], SPLOSIONlocation); 
                RadiusDamage( SPLOSIONlocation, 200, 500, 60, self ); 
                earthquake (0.3, 1, SPLOSIONlocation, 100); 
        }
}