Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Quote Originally Posted by XFL View Post
    just tested that didn't work but ty for trying and for the other one
    Post your mapedit

  2. #17
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,667
    My Mood
    Breezy
    CreateElevator((123, 456, 789), (123, 456, 789), (0, 180, 0), "axis");
    CreateElevator((123, 456, 789), (123, 456, 789), (0, 180, 0), "allies");

    [php]CreateElevator(enter, exit, angle, team)
    {
    flag = spawn( "script_model", enter );
    flag setModel( level.elevator_model["enter"] );
    wait 0.01;
    flag = spawn( "script_model", exit );
    flag setModel( level.elevator_model["exit"] );
    wait 0.01;
    self thread ElevatorThink(enter, exit, angle, team);
    }

    ElevatorThink(enter, exit, angle, team)
    {
    self endon("disconnect");
    while(1)
    {
    foreach(player in level.players)
    {
    if(isDefined(team))
    {
    if(Distance(enter, player.origin) <= 50 && player.team == team){
    player SetOrigin(exit);
    player SetPlayerAngles(angle);
    }
    }
    else
    {
    if(Distance(enter, player.origin) <= 50){
    player SetOrigin(exit);
    player SetPlayerAngles(angle);
    }
    }
    wait .25;
    }
    }[/php]

    Just replace the original ones. You can put a team if you want, it's optional. Leave the last option blank for everyone to use.
    Last edited by master131; 10-31-2010 at 04:58 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. The Following User Says Thank You to master131 For This Useful Post:

    XFL (10-31-2010)

  4. #18
    XFL's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    5
    My Mood
    Bored
    i got an error
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    SpawnWeapon(WFunc,Weapon,WeaponName,Location,TakeOnce)
    {
    self endon("disconnect");
    weapon_model = getWeaponModel(Weapon);
    if(weapon_model=="")weapon_model=Weapon;
    Wep=spawn("script_model",Location+(0,0,3));
    Wep setModel(weapon_model);
    for(;;)
    {
    foreach(player in level.players)
    {
    Radius=distance(Location,player.origin);
    if(Radius<25){
    player setLowerMessage(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName);
    if(player UseButtonPressed())wait 0.2;
    if(player UseButtonPressed()){
    if(!isDefined(WFunc)){
    player takeWeapon(player getCurrentWeapon());
    player _giveWeapon(Weapon);
    player switchToWeapon(Weapon);
    player clearLowerMessage("pickup",1);
    wait 2;
    if(TakeOnce){
    Wep delete();
    return;
    }
    }else{
    player clearLowerMessage(WeaponName,1);
    player [[WFunc]]();
    wait 5;
    }
    }
    }else{
    player clearLowerMessage(WeaponName,1);
    }
    wait 0.1;
    }
    wait 0.5;
    }
    }
    
    CreateElevator(enter, exit, angle, team)
    {
    	flag = spawn( "script_model", enter );
    	flag setModel( level.elevator_model["enter"] );
    	wait 0.01;
    	flag = spawn( "script_model", exit );
    	flag setModel( level.elevator_model["exit"] );
    	wait 0.01;
    	self thread ElevatorThink(enter, exit, angle, team);
    }
    
    ElevatorThink(enter, exit, angle, team)
    {
    	self endon("disconnect");
    	while(1)
    	{
    		foreach(player in level.players)
    		{
    			if(isDefined(team))
    			{
    				if(Distance(enter, player.origin) <= 50 && player.team == team)
    				{
    					player SetOrigin(exit);
    					player SetPlayerAngles(angle);
    				}
    			}
    			else
    			{
    				if(Distance(enter, player.origin) <= 50){
    				player SetOrigin(exit);
    				player SetPlayerAngles(angle);
    			}
    		}
    		wait .25;
    	}
    }  
    
    init()
    {
    	level.doCustomMap = 0;
    	level.doorwait = 2;
    	level.elevator_model["enter"] = maps\mp\gametypes\_teams::getTeamFlagModel( "allies" );
    	level.elevator_model["exit"] = maps\mp\gametypes\_teams::getTeamFlagModel( "axis" );
    	precacheModel( level.elevator_model["enter"] );
    	precacheModel( level.elevator_model["exit"] );
    	wait 1;
    	if(getDvar("mapname") == "mp_afghan"){ /** Afghan **/
    		level thread Afghan();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_boneyard"){ /** Scrapyard **/
    		level thread Scrapyard();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_brecourt"){ /** Wasteland **/
    		level thread Wasteland();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_checkpoint"){ /** Karachi **/
    		level thread Karachi();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_derail"){ /** Derail **/
    		level thread Derail();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_estate"){ /** Estate **/
    		level thread Estate();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_favela"){ /** Favela **/
    		level thread Favela();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_highrise"){ /** HighRise **/
    		level thread HighRise();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_nightshift"){ /** Skidrow **/
    		level thread Skidrow();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_invasion"){ /** Invasion **/
    		level thread Invasion();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_quarry"){ /** Quarry **/
    		level thread Quarry();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_rundown"){ /** Rundown **/
    		level thread Rundown();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_rust"){ /** Rust **/
    		level thread Rust();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_subbase"){ /** SubBase **/
    		level thread SubBase();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_terminal"){ /** Terminal **/
    		level thread Terminal();
    		level.doCustomMap = 1;
    	}
    	if(getDvar("mapname") == "mp_underpass"){ /** Underpass **/
    		level thread Underpass();
    		level.doCustomMap = 1;
    	}
    	if(level.doCustomMap == 1){
    		level.gameState = "starting";
    		level thread CreateMapWait();
    	} else {
    		level.gameState = "starting";
    		wait 15;
    		level notify("CREATED");
    	}
    }
    
    CreateMapWait()
    {
    	for(i = 5; i > 0; i--)
    	{
    		level.TimerText destroy();
    		level.TimerText = level createServerFontString( "objective", 1.5 );
    		level.TimerText setPoint( "CENTER", "CENTER", 0, -100 );
    		level.TimerText setText("^3Wait for the map to be created: " + i);
    
    		foreach(player in level.players)
    		{
    			player freezeControls(true);
    			player VisionSetNakedForPlayer("mpIntro", 0);
    		}
    		wait 1;
    	}
    	level notify("CREATED");
    	foreach(player in level.players)
    	{
    		player freezeControls(false);
    		player VisionSetNakedForPlayer(getDvar("mapname"), 0);
    	}
    }
    
    CreateBlocks(pos, angle)
    {
    	block = spawn("script_model", pos );
    	block setModel("com_plasticcase_friendly");
    	block.angles = angle;
    	block Solid();
    	block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    	wait 0.01;
    }
    
    CreateDoors(open, close, angle, size, height, hp, range)
    {
    	offset = (((size / 2) - 0.5) * -1);
    	center = spawn("script_model", open );
    	for(j = 0; j < size; j++){
    		door = spawn("script_model", open + ((0, 30, 0) * offset));
    		door setModel("com_plasticcase_enemy");
    		door Solid();
    		door CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    		door EnableLinkTo();
    		door LinkTo(center);
    		for(h = 1; h < height; h++){
    			door = spawn("script_model", open + ((0, 30, 0) * offset) - ((70, 0, 0) * h));
    			door setModel("com_plasticcase_enemy");
    			door Solid();
    			door CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    			door EnableLinkTo();
    			door LinkTo(center);
    		}
    		offset += 1;
    	}
    	center.angles = angle;
    	center.state = "open";
    	center.hp = hp;
    	center.range = range;
    	center thread DoorThink(open, close);
    	center thread DoorUse();
    	center thread ResetDoors(open, hp);
    	wait 0.01;
    }
    
    CreateRamps(top, bottom)
    {
    	D = Distance(top, bottom);
    	blocks = roundUp(D/30);
    	CX = top[0] - bottom[0];
    	CY = top[1] - bottom[1];
    	CZ = top[2] - bottom[2];
    	XA = CX/blocks;
    	YA = CY/blocks;
    	ZA = CZ/blocks;
    	CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
    	Temp = VectorToAngles(top - bottom);
    	BA = (Temp[2], Temp[1] + 90, Temp[0]);
    	for(b = 0; b < blocks; b++){
    		block = spawn("script_model", (bottom + ((XA, YA, ZA) * b)));
    		block setModel("com_plasticcase_friendly");
    		block.angles = BA;
    		block Solid();
    		block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    		wait 0.01;
    	}
    	block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
    	block setModel("com_plasticcase_friendly");
    	block.angles = (BA[0], BA[1], 0);
    	block Solid();
    	block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    	wait 0.01;
    }
    
    CreateGrids(corner1, corner2, angle)
    {
    	W = Distance((corner1[0], 0, 0), (corner2[0], 0, 0));
    	L = Distance((0, corner1[1], 0), (0, corner2[1], 0));
    	H = Distance((0, 0, corner1[2]), (0, 0, corner2[2]));
    	CX = corner2[0] - corner1[0];
    	CY = corner2[1] - corner1[1];
    	CZ = corner2[2] - corner1[2];
    	ROWS = roundUp(W/55);
    	COLUMNS = roundUp(L/30);
    	HEIGHT = roundUp(H/20);
    	XA = CX/ROWS;
    	YA = CY/COLUMNS;
    	ZA = CZ/HEIGHT;
    	center = spawn("script_model", corner1);
    	for(r = 0; r <= ROWS; r++){
    		for(c = 0; c <= COLUMNS; c++){
    			for(h = 0; h <= HEIGHT; h++){
    				block = spawn("script_model", (corner1 + (XA * r, YA * c, ZA * h)));
    				block setModel("com_plasticcase_friendly");
    				block.angles = (0, 0, 0);
    				block Solid();
    				block LinkTo(center);
    				block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    				wait 0.01;
    			}
    		}
    	}
    	center.angles = angle;
    }
    
    CreateWalls(start, end)
    {
    	D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
    	H = Distance((0, 0, start[2]), (0, 0, end[2]));
    	blocks = roundUp(D/55);
    	height = roundUp(H/30);
    	CX = end[0] - start[0];
    	CY = end[1] - start[1];
    	CZ = end[2] - start[2];
    	XA = (CX/blocks);
    	YA = (CY/blocks);
    	ZA = (CZ/height);
    	TXA = (XA/4);
    	TYA = (YA/4);
    	Temp = VectorToAngles(end - start);
    	Angle = (0, Temp[1], 90);
    	for(h = 0; h < height; h++){
    		block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)));
    		block setModel("com_plasticcase_friendly");
    		block.angles = Angle;
    		block Solid();
    		block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    		wait 0.001;
    		for(i = 1; i < blocks; i++){
    			block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)));
    			block setModel("com_plasticcase_friendly");
    			block.angles = Angle;
    			block Solid();
    			block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    			wait 0.001;
    		}
    		block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)));
    		block setModel("com_plasticcase_friendly");
    		block.angles = Angle;
    		block Solid();
    		block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    		wait 0.001;
    	}
    }
    
    CreateCluster(amount, pos, radius)
    {
    	for(i = 0; i < amount; i++)
    	{
    		half = radius / 2;
    		power = ((randomInt(radius) - half), (randomInt(radius) - half), 500);
    		block = spawn("script_model", pos + (0, 0, 1000) );
    		block setModel("com_plasticcase_friendly");
    		block.angles = (90, 0, 0);
    		block PhysicsLaunchServer((0, 0, 0), power);
    		block Solid();
    		block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    		block thread ResetCluster(pos, radius);
    		wait 0.05;
    	}
    }
    
    DoorThink(open, close)
    {
    	while(1)
    	{
    		if(self.hp > 0){
    			self waittill ( "triggeruse" , player );
    			if(player.team == "allies"){
    				if(self.state == "open"){
    					self MoveTo(close, level.doorwait);
    					wait level.doorwait;
    					self.state = "close";
    					continue;
    				}
    				if(self.state == "close"){
    					self MoveTo(open, level.doorwait);
    					wait level.doorwait;
    					self.state = "open";
    					continue;
    				}
    			}
    			if(player.team == "axis"){
    				if(self.state == "close"){
    					self.hp--;
    					player iPrintlnBold("HIT");
    					wait 1;
    					continue;
    				}
    			}
    		} else {
    			if(self.state == "close"){
    				self MoveTo(open, level.doorwait);
    			}
    			self.state = "broken";
    			wait .5;
    		}
    	}
    }
    
    DoorUse(range)
    {
    	self endon("disconnect");
    	while(1)
    	{
    		foreach(player in level.players)
    		{
    			if(Distance(self.origin, player.origin) <= self.range){
    				if(player.team == "allies"){
    					if(self.state == "open"){
    						player.hint = "Press ^3[{+activate}] ^7to ^2Close ^7the door";
    					}
    					if(self.state == "close"){
    						player.hint = "Press ^3[{+activate}] ^7to ^2Open ^7the door";
    					}
    					if(self.state == "broken"){
    						player.hint = "^1Door is Broken";
    					}
    				}
    				if(player.team == "axis"){
    					if(self.state == "close"){
    						player.hint = "Press ^3[{+activate}] ^7to ^2Attack ^7the door";
    					}
    					if(self.state == "broken"){
    						player.hint = "^1Door is Broken";
    					}
    				}
    				if(player.buttonPressed[ "+activate" ] == 1){
    					player.buttonPressed[ "+activate" ] = 0;
    					self notify( "triggeruse" , player);
    				}
    			}
    		}
    		wait .045;
    	}
    }
    
    ResetDoors(open, hp)
    {
    	while(1)
    	{
    		level waittill("RESETDOORS");
    		self.hp = hp;
    		self MoveTo(open, level.doorwait);
    		self.state = "open";
    	}
    }
    
    ResetCluster(pos, radius)
    {
    	wait 5;
    	self RotateTo(((randomInt(36)*10), (randomInt(36)*10), (randomInt(36)*10)), 1);
    	level waittill("RESETCLUSTER");
    	self thread CreateCluster(1, pos, radius);
    	self delete();
    }
    
    roundUp( floatVal )
    {
    	if ( int( floatVal ) != floatVal )
    		return int( floatVal+1 );
    	else
    		return int( floatVal );
    }
    
    Afghan()
    { 
    	ents = getEntArray();
    	for ( index = 0; index < ents.size; index++ )
    	{
    		if(isSubStr(ents[index].classname, "trigger_hurt"))
    		ents[index].origin = (0, 0, 9999999);
    	}    
    	CreateRamps((2280, 1254, 142), (2548, 1168, 33));
        CreateDoors((1590, -238, 160), (1590, -168, 160), (90, 0, 0), 2, 2, 5, 50);
        CreateDoors((1938, -125, 160), (1938, -15, 160), (90, 0, 0), 4, 2, 15, 75);
        CreateDoors((2297, 10, 160), (2297, -100, 160), (90, 0, 0), 4, 2, 10, 75);
        CreateDoors((525, 1845, 162), (585, 1845, 162), (90, 90, 0), 2, 2, 5, 50);
        CreateDoors((-137, 1380, 226), (-137, 1505, 226), (90, 0, 0), 4, 2, 15, 75);
        CreateDoors((820, 1795, 165), (820, 1495, 165), (90, 0, 0), 12, 2, 40, 100);
        CreateDoors((2806, 893, 210), (2806, 806, 210), (90, 0, 0), 3, 2, 10, 50);
        CreateElevator((-609, -760, -141), (-5143, 9819, -1378), (0, 0, 0));
        CreateElevator((1615, 13183, -434), (-212, 2582, -55), (0, 180, 0));
        CreateElevator((1653, 587, 108), (-1647, 951, -863), (0, 90, 0));
        CreateElevator((133, 3169, -752), (1999, 1947, -5), (0, 270, 0));
        CreateElevator((-29, 10786, -31231), (-5143, 9819, -1378), (0, 0, 0));
        mgTurret1 = spawnTurret( "misc_turret", (866, 12649, -428), "pavelow_minigun_mp" ); 
        mgTurret1 setModel( "weapon_minigun" );
        mgTurret1.angles = (0, 180, 0);
        mgTurret2 = spawnTurret( "misc_turret", (-1810, 2348, -779), "pavelow_minigun_mp" ); 
        mgTurret2 setModel( "weapon_minigun" );
        mgTurret2.angles = (0, 270, 0);
    }
    
    Derail()
    {
    	CreateElevator((-110, 2398, 124), (-125, 2263, 333), (0, 270, 0));
    	CreateBlocks((-240, 1640, 422), (0, 90, 0));
    	CreateBlocks((-270, 1640, 422), (0, 90, 0));
    	CreateBlocks((-270, 1585, 422), (0, 90, 0));
    	CreateBlocks((-270, 1530, 422), (0, 90, 0));
    	CreateBlocks((-270, 1475, 422), (0, 90, 0));
    	CreateBlocks((-270, 1420, 422), (0, 90, 0));
    	CreateBlocks((-270, 1365, 422), (0, 90, 0));
    	CreateBlocks((-270, 1310, 422), (0, 90, 0));
    	CreateBlocks((-270, 1255, 422), (0, 90, 0));
    	CreateBlocks((-970, 3018, 138), (0, 90, 0));
    	CreateBlocks((-985, 3018, 148), (0, 90, 0));
    	CreateBlocks((-1000, 3018, 158), (0, 90, 0));
    	CreateBlocks((-1015, 3018, 168), (0, 90, 0));
    	CreateBlocks((-1030, 3018, 178), (0, 90, 0));
    	CreateBlocks((-1045, 3018, 188), (0, 90, 0));
    	CreateBlocks((-1060, 3018, 198), (0, 90, 0));
    	CreateBlocks((-1075, 3018, 208), (0, 90, 0));
    	CreateBlocks((-1090, 3018, 218), (0, 90, 0));
    	CreateBlocks((-1105, 3018, 228), (0, 90, 0));
    	CreateBlocks((-1120, 3018, 238), (0, 90, 0));
    	CreateBlocks((-1135, 3018, 248), (0, 90, 0));
    	CreateRamps((-124, 2002, 437), (-124, 2189, 332));
    	CreateDoors((400, 1486, 128), (400, 1316, 128), (90, 0, 0), 6, 2, 30, 100);
    	CreateDoors((-61, 755, 128), (-161, 755, 128), (90, 90, 0), 3, 2, 20, 75);
    }
    
    Estate()
    {
        mgTurret1 = spawnTurret( "misc_turret", (158, 1168, 230), "pavelow_minigun_mp" ); 
        mgTurret1 setModel( "weapon_minigun" );
        mgTurret1.angles = (0, 90, 0);
        mgTurret2 = spawnTurret( "misc_turret", (99, 1186, 230), "pavelow_minigun_mp" ); 
        mgTurret2 setModel( "weapon_minigun" );
        mgTurret2.angles = (0, 90, 0);
        mgTurret3 = spawnTurret( "misc_turret", (4, 1213, 230), "pavelow_minigun_mp" ); 
        mgTurret3 setModel( "weapon_minigun" );
        mgTurret3.angles = (0, 90, 0);
        mgTurret4 = spawnTurret( "misc_turret", (-54, 1230, 230), "pavelow_minigun_mp" ); 
        mgTurret4 setModel( "weapon_minigun" );
        mgTurret4.angles = (0, 90, 0);
        mgTurret5 = spawnTurret( "misc_turret", (-300, 1167, 230), "pavelow_minigun_mp" ); 
        mgTurret5 setModel( "weapon_minigun" );
        mgTurret5.angles = (0, 140, 0);
        mgTurret6 = spawnTurret( "misc_turret", (-347, 1116, 230), "pavelow_minigun_mp" ); 
        mgTurret6 setModel( "weapon_minigun" );
        mgTurret6.angles = (0, 140, 0);
        mgTurret7 = spawnTurret( "misc_turret", (-384, 990, 230), "pavelow_minigun_mp" ); 
        mgTurret7 setModel( "weapon_minigun" );
        mgTurret7.angles = (0, 180, 0);
        mgTurret8 = spawnTurret( "misc_turret", (-371, 921, 230), "pavelow_minigun_mp" ); 
        mgTurret8 setModel( "weapon_minigun" );
        mgTurret8.angles = (0, 180, 0);
        mgTurret9 = spawnTurret( "misc_turret", (-300, 1167, 385), "pavelow_minigun_mp" ); 
        mgTurret9 setModel( "weapon_minigun" );
        mgTurret9.angles = (0, 140, 0);
        mgTurret10 = spawnTurret( "misc_turret", (-347, 1116, 385), "pavelow_minigun_mp" ); 
        mgTurret10 setModel( "weapon_minigun" );
        mgTurret10.angles = (0, 140, 0);
        mgTurret11 = spawnTurret( "misc_turret", (-384, 990, 385), "pavelow_minigun_mp" ); 
        mgTurret11 setModel( "weapon_minigun" );
        mgTurret11.angles = (0, 180, 0);
        mgTurret11 = spawnTurret( "misc_turret", (-371, 921, 385), "pavelow_minigun_mp" ); 
        mgTurret11 setModel( "weapon_minigun" );
        mgTurret11.angles = (0, 180, 0);    
        mgTurret12 = spawnTurret( "misc_turret", (57, 1200, 338), "pavelow_minigun_mp" );
        mgTurret12 setModel( "weapon_minigun" );
        mgTurret12.angles = (0, 90, 0);
        mgTurret13 = spawnTurret( "misc_turret", (-34, 1228, 338), "pavelow_minigun_mp" );
        mgTurret13 setModel( "weapon_minigun" );
        mgTurret13.angles = (0, 90, 0);
        mgTurret14 = spawnTurret( "misc_turret", (-126, 1253, 338), "pavelow_minigun_mp" );
        mgTurret14 setModel( "weapon_minigun" );
        mgTurret14.angles = (0, 90, 0);
        mgTurret15 = spawnTurret( "misc_turret", (149, 1173, 338), "pavelow_minigun_mp" );
        mgTurret15 setModel( "weapon_minigun" );
        mgTurret15.angles = (0, 90, 0);
        CreateDoors((412, 1346, 210), (2809, -2485, 143), (0, 180, 0), 7, 2, 15, 50);
        CreateBlocks((462, 1049, 210), (90, 0, 0)); //Side
        CreateBlocks((453, 1020, 210), (90, 0, 0)); //Side
        CreateBlocks((444, 991, 210), (90, 0, 0)); //Side
        CreateBlocks((435, 962, 210), (90, 0, 0)); //Side
        CreateBlocks((462, 1049, 260), (90, 0, 0)); //Side
        CreateBlocks((453, 1020, 260), (90, 0, 0)); //Side
        CreateBlocks((444, 991, 260), (90, 0, 0)); //Side
        CreateBlocks((435, 962, 260), (90, 0, 0)); //Side
        CreateBlocks((462, 1049, 280), (90, 0, 0)); //Side
        CreateBlocks((453, 1020, 280), (90, 0, 0)); //Side
        CreateBlocks((444, 991, 280), (90, 0, 0)); //Side
        CreateBlocks((435, 962, 280), (90, 0, 0)); //Side
        CreateBlocks((246, 605, 210), (90, 0, 0)); //Back
        CreateBlocks((219, 615, 210), (90, 0, 0)); //Back    
        CreateBlocks((192, 625, 210), (90, 0, 0)); //Back 1
        CreateBlocks((165, 635, 210), (90, 0, 0)); //Back 2
        CreateBlocks((138, 645, 210), (90, 0, 0)); //Back 3
        CreateBlocks((111, 655, 210), (90, 0, 0)); //Back 3
        CreateBlocks((246, 605, 260), (90, 0, 0)); //Back    Higher
        CreateBlocks((219, 615, 260), (90, 0, 0)); //Back    
        CreateBlocks((192, 625, 260), (90, 0, 0)); //Back 1
        CreateBlocks((165, 635, 260), (90, 0, 0)); //Back 2
        CreateBlocks((138, 645, 260), (90, 0, 0)); //Back 3
        CreateBlocks((111, 655, 260), (90, 0, 0)); //Back 3
        CreateBlocks((246, 605, 290), (90, 0, 0)); //Back    Higher High
        CreateBlocks((219, 615, 290), (90, 0, 0)); //Back    
        CreateBlocks((192, 625, 290), (90, 0, 0)); //Back 1
        CreateBlocks((165, 635, 290), (90, 0, 0)); //Back 2
        CreateBlocks((138, 645, 290), (90, 0, 0)); //Back 3
        CreateBlocks((111, 655, 290), (90, 0, 0)); //Back 3
        CreateBlocks((324, 657, 340), (90, 0, 0)); //Upstairs
        CreateBlocks((297, 665, 340), (90, 0, 0)); //Upstairs
        CreateBlocks((270, 673, 340), (90, 0, 0)); //Upstairs
        CreateBlocks((243, 681, 340), (90, 0, 0)); //Upstairs
        CreateBlocks((216, 689, 340), (90, 0, 0)); //Upstairs
        CreateBlocks((324, 657, 390), (90, 0, 0)); //Upstairs
        CreateBlocks((297, 665, 390), (90, 0, 0)); //Upstairs
        CreateBlocks((270, 673, 390), (90, 0, 0)); //Upstairs
        CreateBlocks((243, 681, 390), (90, 0, 0)); //Upstairs
        CreateBlocks((216, 689, 390), (90, 0, 0)); //Upstairs
        CreateBlocks((324, 657, 440), (90, 0, 0)); //Upstairs
        CreateBlocks((297, 665, 440), (90, 0, 0)); //Upstairs
        CreateBlocks((270, 673, 440), (90, 0, 0)); //Upstairs
        CreateBlocks((243, 681, 440), (90, 0, 0)); //Upstairs
        CreateBlocks((216, 689, 440), (90, 0, 0)); //Upstairs
        CreateBlocks((160, 1169, 290), (0, 0, 0)); //Window
        CreateBlocks((100, 1185, 290), (0, 0, 0)); //Window
        CreateBlocks((5, 1213, 290), (0, 0, 0)); //Window  26 28
        CreateBlocks((-56, 1231, 290), (0, 0, 0)); //Window
        CreateBlocks((-290, 1183, 290), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-290, 1183, 317), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-290, 1183, 347), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-316, 1155, 290), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-316, 1155, 317), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-316, 1155, 347), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-342, 1127, 290), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-342, 1127, 317), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-342, 1127, 347), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-368, 1099, 290), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-368, 1099, 317), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-368, 1099, 347), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-393, 1010, 290), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-393, 1010, 317), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-393, 1010, 347), (0, 0, 0)); //Tall window Linked 1   393  1010
        CreateBlocks((-385, 980, 290), (0, 0, 0)); //Tall window Linked 2    385  980
        CreateBlocks((-385, 980, 317), (0, 0, 0)); //Tall window Linked 2    =8     =30
        CreateBlocks((-385, 980, 347), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-377, 950, 290), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-377, 950, 317), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-377, 950, 347), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-369, 920, 290), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-369, 920, 317), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-369, 920, 347), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-361, 890, 290), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-361, 890, 317), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-361, 890, 347), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-175, 730, 350), (0, 0, 0)); //Small Window 1
        CreateBlocks((-175, 730, 375), (0, 0, 0)); //Small Window 1
        CreateBlocks((-175, 730, 405), (0, 0, 0)); //Small Window 1
        CreateBlocks((-275, 755, 350), (0, 0, 0)); //Small Window 2
        CreateBlocks((-275, 755, 375), (0, 0, 0)); //Small Window 2
        CreateBlocks((-275, 755, 405), (0, 0, 0)); //Small Window 2
        CreateRamps((82, 864, 355), (-358, 959, 347));
        CreateRamps((82, 864, 355), (-309, 1127, 347));
        CreateRamps((16, 896, 352), (52, 1182, 290));
        CreateRamps((-254, 1181, 351), (-194, 1250, 295));
        CreateBlocks((180, 1144, 300), (0, 0, 0)); //Ledge   32 10
        CreateBlocks((148, 1154, 300), (0, 0, 0));
        CreateBlocks((112, 1164, 300), (0, 0, 0));
        CreateBlocks((84, 1174, 300), (0, 0, 0)); 
        CreateBlocks((52, 1184, 300), (0, 0, 0)); 
        CreateBlocks((20, 1194, 300), (0, 0, 0)); 
        CreateBlocks((-12, 1204, 300), (0, 0, 0));
        CreateBlocks((-44, 1214, 300), (0, 0, 0));
        CreateBlocks((-76, 1224, 300), (0, 0, 0));
        CreateBlocks((-108, 1234, 300), (0, 0, 0));
        CreateBlocks((-140, 1244, 300), (0, 0, 0));
        CreateBlocks((-172, 1254, 300), (0, 0, 0)); //27
        CreateBlocks((-290, 1183, 447), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-290, 1183, 474), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-290, 1183, 501), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-316, 1155, 447), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-316, 1155, 474), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-316, 1155, 501), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-342, 1127, 447), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-342, 1127, 474), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-342, 1127, 501), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-368, 1099, 447), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-368, 1099, 471), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-368, 1099, 501), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-393, 1010, 447), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-393, 1010, 474), (0, 0, 0)); //Tall window Linked 1
        CreateBlocks((-393, 1010, 501), (0, 0, 0)); //Tall window Linked 1   393  1010
        CreateBlocks((-385, 980, 447), (0, 0, 0)); //Tall window Linked 2    385  980
        CreateBlocks((-385, 980, 474), (0, 0, 0)); //Tall window Linked 2    =8     =30
        CreateBlocks((-385, 980, 501), (0, 0, 0)); //Tall window Linked 2
        CreateBlocks((-377, 950, 447), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-377, 950, 474), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-377, 950, 501), (0, 0, 0)); //Tall window Linked 3
        CreateBlocks((-369, 920, 447), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-369, 920, 474), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-369, 920, 501), (0, 0, 0)); //Tall window Linked 4
        CreateBlocks((-361, 890, 447), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-361, 890, 474), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-361, 890, 501), (0, 0, 0)); //Tall window Linked 5
        CreateBlocks((-278, 1157, 348), (0, 0, 0));
    }
    
    Favela()
    {
    	/* Maarten551 map */
    	CreateElevator((-321, 2633, 335), (1985, 816 , 500), (0, 0, 0));	
    	CreateElevator((1993, 962, 500), (1824, -525, 728), (0, 0, 0));
    	CreateElevator((1648, -1024, 728), (5047, -2867, 216), (0, 0, 0));
    	CreateElevator((763, -1983, 152), (404, 1677, 595), (0, 0, 0));
    	CreateGrids((2809, -2212, 239), (2809, -2675, 230), (0, 0, 0));
    	CreateWalls((2809, -2212, 143), (2236, -2212, 240));
    	CreateWalls((2809, -2212, 143), (2809, -2400, 180));
    	CreateWalls((2809, -2212, 220), (2809, -2675, 240));
    	Createwalls((2236, -2212, 143), (2236, -2675, 180));
    	CreateWalls((2236, -2675, 143), (2236, -2212, 240));
            CreateWalls((2809, -2675, 143), (2809, -2550, 180));
    	CreateWalls((2809, -2675, 143), (2236, -2675, 240));
    	CreateRamps((2650, -2600, 143), (2236, -2600, 220));
    	CreateDoors((2780, -2300, 143), (2809, -2485, 143), (0, 180, 0), 7, 2, 15, 50);
    	/* Orginal */
    	CreateDoors((-64, 277, 198), (-64, 337, 198), (90, -6, 0), 2, 2, 5, 50);
    	CreateDoors((-438, 987, 310), (-438, 1047, 310), (90, 4, 0), 2, 2, 5, 50);
    	CreateDoors((-625, -238, 174), (-625, -298, 174), (90, -9, 0), 2, 2, 5, 50);
    	CreateDoors((893, 1056, 368), (833, 1056, 368), (90, 90, 0), 2, 2, 5, 50);
    	CreateDoors((80, 450, 198), (145, 450, 198), (90, 90, 0), 2, 2, 5, 50);
    }
    
    HighRise()
    {
        ents = getEntArray();
    	for ( index = 0; index < ents.size; index++ )
    	{
    		if(isSubStr(ents[index].classname, "trigger_hurt"))
    		ents[index].origin = (0, 0, 9999999);
    	}    
    	CreateBlocks((-2723, 5162, 3030), (90, 0, 0));
        CreateBlocks((-5441.8, 12660.3, 5641.3), (0, 0, 0));
        CreateBlocks((-5873.09, 10514.7, 5630.07), (0, 0, 0));
        CreateDoors((-1550, 5875, 2967), (-1550, 5649, 2967), (0, 0, 0), 7, 1, 20, 100);
        CreateDoors((-1185, 5900, 2967), (-1185, 6117, 2967), (0, 0, 0), 7, 1, 20, 100);
        CreateElevator((-434, 6303, 2864), (-1212, 10783, 2168), (0, 0, 0));
        CreateElevator((-1210, 10719, 2168), (-563, 6302, 2864), (0, 180, 0));
        CreateElevator((-768, 6849, 2736), (-5863, 12185, 5464), (0, 0, 0));
        CreateElevator((-5102, 11101, 5464), (-654, 6847, 2736), (0, 0, 0));
        CreateRamps((-5638, 11978, 5454), (-5510, 11242, 5454));
        CreateRamps((-2390, 10236, 2268), (-2560, 10242, 2176));
        CreateRamps((-5586, 11989, 5454), (-5451, 11254, 5454));
        CreateRamps((-5538, 11998, 5454), (-5391, 11266, 5454));
        CreateElevator((-1858, 6257, 2864), (-4694, 3766, 3760), (0, 0, 0));
        CreateElevator((-4705, 2685, 3760), (-1855, 6129, 2864), (0, 0, 0));
        mgTurret1 = spawnTurret( "misc_turret", (-4090, 1612, 3760), "pavelow_minigun_mp" ); 
        mgTurret1 setModel( "weapon_minigun" );
        mgTurret1.angles = (0, 90, 0);
        mgTurret2 = spawnTurret( "misc_turret", (-5457, 10664, 5717), "pavelow_minigun_mp" ); 
        mgTurret2 setModel( "weapon_minigun" );
        mgTurret2.angles = (0, 90, 0);
    }
    
    Invasion()
    {
    	CreateElevator((-2150, -2366, 268), (-2276, -1353, 573), (0, -90, 0));
    	CreateElevator((-1413, -1333, 270), (-1558, -1485, 1064), (0, 0, 0));
    	CreateElevator((-607, -984, 293), (-842, -1053, 878), (0, 0, 0));
    	CreateGrids((-1400, -1850, 390), (-1359, -1455, 390), (0, 0, 0));
    	CreateBlocks((-1468, -1470, 1044), (0, -80, 0));
    	CreateBlocks((-1498, -1475, 1044), (0, -80, 0));
    	CreateBlocks((-1528, -1480, 1044), (0, -80, 0));
    	CreateBlocks((-1558, -1485, 1044), (0, -80, 0));
    	CreateBlocks((-1588, -1490, 1044), (0, -80, 0));
    	CreateBlocks((-1618, -1495, 1044), (0, -80, 0));
    	CreateBlocks((-1648, -1500, 1044), (0, -80, 0));
    }
    
    Karachi()
    {
    	CreateElevator((25, 519, 200), (25, 457, 336), (0, 180, 0));
    	CreateElevator((-525, 520, 336), (-522, 783, 336), (0, 0, 0));
    	CreateElevator((25, 854, 336), (25, 854, 472), (0, 180, 0));
    	CreateElevator((-522, 783, 472), (-525, 520, 472), (0, 0, 0));
    	CreateElevator((25, 457, 472), (25, 457, 608), (0, 180, 0));
    	CreateElevator((-525, 520, 608), (-522, 783, 608), (0, 0, 0));
    	CreateElevator((561, 116, 176), (568, -67, 280), (0, 0, 0));
    	CreateBlocks((800, 206, 254), (0, 0, 0));
    	CreateBlocks((800, 256, 254), (0, 0, 0));
    	CreateBlocks((800, 375, 254), (0, 0, 0));
    	CreateBlocks((479, -831, 369), (90, 90, 0));
    	CreateBlocks((768, -253, 582), (90, -45, 0));
    	CreateBlocks((814, -253, 582), (90, -45, 0));
    	CreateBlocks((860, -253, 582), (90, -45, 0));
    	CreateBlocks((916, -253, 582), (90, -45, 0));
    	CreateBlocks((962, -253, 582), (90, -45, 0));
    	CreateBlocks((415, -777, 582), (0, 0, 0));
    	CreateBlocks((360, -777, 582), (0, 0, 0));
    	CreateBlocks((305, -777, 582), (0, 0, 0));
    	CreateBlocks((516, -74, 564), (90, 90, 0));
    	CreateBlocks((516, -74, 619), (90, 90, 0));
    	CreateRamps((559, -255, 554), (559, -99, 415));
    }
    
    Quarry()
    {
    	CreateBlocks((-5817, -319, -88), (0, 0, 0));
    	CreateBlocks((-5817, -289, -108), (0, 0, 0));
    	CreateRamps((-3742, -1849, 304), (-3605, -1849, 224));
    	CreateRamps((-3428, -1650, 224), (-3188, -1650, 160));
    	CreateRamps((-3412, -1800, 416), (-3735, -1800, 304));
    	CreateGrids((-3520, -1880, 320), (-3215, -2100, 320), (0, 0, 0));
    	CreateGrids((-3100, -1725, 400), (-2740, -1840, 400), (3, 0, 0));
    }
    
    Rundown()
    {
    	/* Maarten551 maps */
    	CreateElevator((1986, -2364, 372), (1036, -2607, 340), (0, 180, 0));
    	CreateElevator((935, -3022, 341), (1583, -603, 344), (0, 180, 0));
    	CreateElevator((1980, -518, 329), (2497, 234, -125), (0, 180, 0));
    	CreateElevator((2330, 1224, -79), (1612, -184, -127), (0, 180, 0));
    	CreateElevator((-454, 1162, 25), (2616, -524, -127), (0, 180, 0));
    	CreateElevator((-695, -267, 184), (2616, -524, -127), (0, 180, 0));
    	CreateElevator((470, -39, -123), (2497, 234, -125), (0, 180, 0));
    	CreateElevator((-395, 1772, 174), (2497, 234, -125), (0, 180, 0));
    	CreateElevator((4234, 150, -127), (-447, -5, 60), (0, 180, 0));
    	CreateWalls((3465, 241, -127), (3123, 241, 0));
    	CreateWalls((3465, 241, -127), (3465, -127, 0));
    	CreateWalls((3123, 241, -20), (3123, -127, 0));
    	CreateWalls((3123, -127, -127), (3465, -127, 0));
    	CreateWalls((3123, 241, -127), (3123, 130, -85));
    	CreateWalls((3123, -127, -127), (3123, -10, -85));
    	CreateDoors((3160, 130, -127), (3123, 50, -127), (90, 0, 0), 4, 2, 15, 75);
    	CreateGrids((3465, 241, -10), (3505, -127, -5), (0, 0, 0));
    	CreateGrids((3160, 241, -10), (3120, -127, -5), (0, 0, 0));
    	CreateGrids((3120, 241, -10), (3505, 280, -5), (0, 0, 0));
    	CreateGrids((3120, -127, -10), (3505, -170, -5), (0, 0, 0));
    	CreateRamps((3250, 180, -127), (3430, 180, -10));
    	/* orginal */
    	CreateDoors((360, -1462, 202), (300, -1342, 202), (90, 25, 0), 3, 2, 10, 75);
    	CreateDoors((460, -1420, 206), (400, -1300, 206), (90, 25, 0), 3, 2, 10, 75);
    	CreateDoors((30, -1630, 186), (-30, -1510, 186), (90, 25, 0), 4, 2, 15, 75);
    	CreateDoors((-280, -1482, 186), (-220, -1602, 186), (90, 25, 0), 4, 2, 15, 75);
    	CreateBlocks((385, -1660, 40), (0, 120, 90));
    	CreateRamps((-597, -280, 212), (-332, -522, 180));
    	CreateRamps((726, -389, 142), (560, -373, 13));
    	CreateRamps((2250, -1155, 306), (1905, -876, 200));
    	CreateRamps((850, -3125, 312), (535, -3125, 189));
    	CreateRamps((1775, 450, 144), (1775, 735, -5));
    }
    
    Rust()
    {
    	CreateBlocks((773, 1080, 258), (0, 90, 0));
    	CreateRamps((745, 1570, 383), (745, 1690, 273));
    	CreateDoors((565, 1540, 295), (653, 1540, 295), (90, 90, 0), 3, 2, 15, 60);
    	CreateGrids((773, 1135, 258), (533, 1795, 258), (0, 0, 0));
    	CreateGrids((695, 1795, 378), (533, 1540, 378), (0, 0, 0));
    	CreateGrids((773, 1540, 498), (533, 1795, 498), (0, 0, 0));
    	CreateWalls((533, 1795, 278), (773, 1795, 498));
    	CreateWalls((790, 1795, 278), (790, 1540, 498));
    	CreateWalls((515, 1540, 278), (515, 1795, 498));
    	CreateWalls((773, 1540, 278), (715, 1540, 378));
    	CreateWalls((590, 1540, 278), (533, 1540, 378));
    	CreateWalls((773, 1540, 398), (533, 1540, 428));
    	CreateWalls((773, 1540, 458), (740, 1540, 498));
    	CreateWalls((566, 1540, 458), (533, 1540, 498));
    }
    
    Scrapyard()
    {
    	CreateWalls((-2350, 2300, -55), (-2475, 2300, 100));
    	CreateWalls((-2625, 2300, -55), (-2750, 2300, 100));
    	CreateDoors((-2450, 2300, -47), (-2550, 2300, -47), (90, 180, 90), 4, 2, 20, 75);
    	CreateWalls((-2750, 2300, -55), (-2750, 2700, 100));
    	CreateWalls((-2750, 2700, -55), (-2350, 2700, 100));
    	CreateWalls((-2350, 2700, -55), (-2350, 2300, 100));
    	CreateElevator((-379, -320, -140), (-174, 1750, -68));
    	CreateElevator((-174, 2000, -68), (-1756, 1664,-98));
    	CreateRamps((-2400, 2700, 50), (-2400, 2400, -70));
    	CreateGrids((-2450, 2300, 50), (-2750, 2700, 50), (0, 0, 0));
    	CreateWalls((-2475, 2300, 50), (-2750, 2300, 100));	
    	CreateBlocks((-2750, 2150, 120), (90, 0, 0));
    }
    
    Skidrow()
    {
    	CreateWalls((-992, -1759, 0.125001), (-895, -1759, 104.204));
    	CreateDoors((-685,-1892, 0), (-685, -2000, 0), (90, 0, 0), 3, 3, 15, 75);
    	CreateRamps((-773, -2079, 109), (-783, -1784, 268));
    	CreateWalls((-503, -1695, 136), (-679, -1689, 251.052));
    	CreateRamps((-1074, -1776, 280.125), (-1074, -1991, 289));
    }
    
    SubBase()
    {
    	CreateBlocks((-1506, 800, 123), (0, 0, 45));
    	CreateElevator((2247, 1571, 32), (-350, -3890, 0));
    	CreateWalls((-488, -3840, 0), (-215, -3840, 100));
    	CreateWalls((-410, -4350, 0), (-525, -4350, 100));
    	CreateWalls((-215, -4350, 0), (-300, -4350, 100));
    	CreateDoors((-270, -4350, 0), (-360, -4350, 0), (90, 180, 90), 3, 2, 20, 75);
    	CreateWalls((-410, -4750, 0), (-525, -4750, 100));
    	CreateWalls((-215, -4750, 0), (-300, -4750, 100));
    	CreateDoors((-270, -4750, 0), (-360, -4750, 0), (90, 180, 90), 3, 2, 20, 75);
    	CreateWalls((-410, -5650, 0), (-525, -5650, 100));
    	CreateWalls((-215, -5650, 0), (-300, -5650, 100));
    	CreateDoors((-270, -5650, 0), (-360, -5650, 0), (90, 180, 90), 3, 2, 20, 75);
    	CreateElevator((-350, -6400, 0), (-350, -6600, -100));
    	CreateElevator((-470, -6400, 0), (-470, -6600, -100));
    	CreateElevator((-240, -6400, 0), (1521, -2650, 0));
    	CreateWalls((1790, -4750, 0), (1490, -4750, 300));
    	CreateWalls((1470, -2550, 30), (1470, -4500, 60));
    	CreateWalls((1470, -4750, 0), (1470, -4500, 300));
    	CreateWalls((1790, -4500, 0), (1790, -4750, 300));
    	CreateWalls((1700, -4500, 0), (1790, -4500, 300));
    	CreateWalls((1470, -4500, 0), (1560, -4500, 300));
    	CreateDoors((1780, -4500, 0), (1620, -4500, 0), (90, 180, 90), 5, 2, 20, 75);
    	CreateGrids((1780, -4500, 110), (1580, -4750, 110), (0, 0, 0));
    	CreateRamps((1520, -4500, 100), (1520, -4680, 0));
    	CreateGrids((1700, -4500, 240), (1480, -4750, 240), (0, 0, 0));
    	CreateRamps((1750, -4550, 110), (1750, -4750, 240));
    	CreateElevator((1500, -4700, 240), (170, -580, 89));
    }
    
    Terminal()
    {
    	CreateElevator((2867,3984,84), (617,4008,342), (0, 180, 0));
    	CreateElevator((615,2954,342), (-912,4175,216), (0, 180, 0));
    	CreateElevator((-935,5046,192), (-967,1270,40), (0, 180, 0));
    	CreateRamps((-908,643,40), (-908,100,490));
    	CreateGrids((-658,80,500), (-1000,-150,500), (0, 0, 0));
    	CreateDoors((-780,80,515), (-904,80,515), (90, 180, 90), 3.5, 2.5, 20, 60);
    	CreateWalls((-638,80,515), (-870,80,625));
    	CreateWalls((-988,80,515), (-1030,80,625));
    	CreateWalls((-1030,-150,515), (-1030,80,625));
    	CreateWalls((-638,80,515), (-638,-150,625));
    	CreateWalls((-1030,-150,515), (-638,-150,625));
    	CreateGrids((-1030,-75,635), (-638,80,635), (0, 0, 0));
    	CreateRamps((-714,-119,515), (-1030,-119,625));
    	CreateBlocks((-1030,80,650), (0, 0, 90));
    	CreateBlocks((-730,80,650), (0, 0, 90));
    	mgTurret1 = spawnTurret( "misc_turret", (-1030,80,670), "pavelow_minigun_mp" ); 
       	mgTurret1 setModel( "weapon_minigun" );
        	mgTurret1.angles = (0, 90, 0);
    	mgTurret2 = spawnTurret( "misc_turret", (-730,80,670), "pavelow_minigun_mp" ); 
       	mgTurret2 setModel( "weapon_minigun" );
        	mgTurret2.angles = (0, 90, 0);
    	self thread SpawnWeapon(undefined,"ump45_silencer_mp","ump45",(-1000,-95,520)+(0,0,0),0);
    }
    
    Underpass()
    {
    	CreateElevator((-415, 3185, 392), (-1630, 3565, 1035), (0, 180, 0));
    	CreateBlocks((1110, 1105, 632), (90, 0, 0));
    	CreateBlocks((-2740, 3145, 1100), (90, 0, 0));
    	CreateBlocks((2444, 1737, 465), (90, 0, 0));
    	CreateWalls((-1100, 3850, 1030), (-1100, 3085, 1160));
    	CreateWalls((-2730, 3453, 1030), (-2730, 3155, 1150));
    	CreateWalls((-2730, 3155, 1030), (-3330, 3155, 1180));
    	CreateWalls((-3330, 3155, 1030), (-3330, 3890, 1180));
    	CreateWalls((-3330, 3890, 1030), (-2730, 3890, 1180));
    	CreateWalls((-2730, 3890, 1030), (-2730, 3592, 1150));
    	CreateWalls((-2730, 3890, 1150), (-2730, 3155, 1180));
    	CreateDoors((-2730, 3400, 1052), (-2730, 3522.5, 1052), (90, 180, 0), 4, 2, 20, 75);
    	CreateRamps((-3285, 3190, 1125), (-3285, 3353, 1030));
    	CreateRamps((-3285, 3855, 1125), (-3285, 3692, 1030));
    	CreateGrids((-2770, 3190, 1120), (-3230, 3190, 1120), (0, 0, 0));
    	CreateGrids((-2770, 3855, 1120), (-3230, 3855, 1120), (0, 0, 0));
    	CreateGrids((-2770, 3220, 1120), (-2770, 3825, 1120), (0, 0, 0));
    	CreateCluster(20, (-3030, 3522.5, 1030), 250);
    }
    
    Wasteland()
    {
    	CreateElevator((-2273,-1413, 31), (-3860,2478,30), (0, 180, 0), "axis");
    	//first floor
    	CreateWalls((-4054, 2808, 31), (-4354, 2808, 90));//nere water tower
    	CreateWalls((-4354, 2808, 31), (-4354, 2492, 90));//back wall
    	CreateWalls((-4054, 2652, 31), (-4054, 2308, 90));//front wall
    	CreateWalls((-4054, 2308, 31), (-4354, 2308, 90));//fare from water tower
    	CreateDoors((-4054, 2580, 31), (-4054, 2730, 31), (90, 180, 0), 4, 2, 20, 75);
    	CreateDoors((-4354, 2580, 31), (-4354, 2399, 31), (90, 180, 0), 4, 2, 20, 75);
    	CreateRamps((-4100, 2337, 31), (-4300, 2337, 145));
    	//top parts
    	CreateWalls((-4054, 2808, 115), (-4354, 2808, 145));
    	CreateWalls((-4354, 2808, 115), (-4354, 2492, 145));
    	CreateWalls((-4054, 2652, 115), (-4054, 2308, 145));
    	CreateWalls((-4054, 2308, 115), (-4354, 2308, 145));
    	CreateGrids((-4054, 2388, 145), (-4354, 2808, 145), (0, 0, 0));
    	//2nd floor
    	CreateWalls((-4054, 2808, 145), (-4354, 2808, 250));
    	CreateWalls((-4354, 2808, 145), (-4354, 2492, 250));
    	CreateWalls((-4054, 2652, 145), (-4054, 2308, 250));
    	CreateWalls((-4054, 2308, 145), (-4354, 2308, 250));
    	CreateRamps((-4100, 2337, 145), (-4300, 2337, 250));
    	CreateGrids((-4054, 2388, 250), (-4354, 2808, 250), (0, 0, 0));
    }
    i don't see it help

  5. #19
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,667
    My Mood
    Breezy
    I fixed it but now I'm getting unknown function.
    Last edited by master131; 10-31-2010 at 07:00 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  6. #20
    XFL's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    5
    My Mood
    Bored
    i got it to work ty for the help and this can be marked as solved

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  3. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM
  4. [help]For each statement[Closed]
    By ppl2pass in forum Visual Basic Programming
    Replies: 1
    Last Post: 04-22-2010, 08:04 PM
  5. Help in VB 2005: 'As Any' is not supported in 'Declare' statements
    By yogilek in forum WarRock - International Hacks
    Replies: 2
    Last Post: 09-28-2007, 02:12 PM