Code:
CreateElevator((-78, -185, -47), (-926, -5134 , -103), (0, 270, 0));
CreateElevator((-2224, -9384, 116), (-2300, -8364 , 252), (0, 0, 0));
CreateElevator((515, -9415, 420), (2945, -7497 , 76), (0, 180, 0));
CreateElevator((-304, -8245, 284), (460, -9402, 872), (0, 90, 0));
CreateWalls((-5767, -7719, -66), (-2590, -9435, -67));
CreateWalls((-5767, -7719, -26), (-2590, -9435, -27));
CreateWalls((-5767, -7719, 14), (-2590, -9435, 13));
CreateWalls((-2590, -9435, -26), (-2331, -9435, -27));
CreateWalls((-2590, -9435, 14), (-2331, -9435, 13));
CreateWalls((-4175, -5619, -117), (-5040, -5634, -135));
CreateWalls((1541, -7399, -60), (863, -8396, -90));
CreateWalls((1541, -7399, -100), (863, -8396, -130));
CreateWalls((3043, -7423, 76), (3043, -7576, 130));
CreateWalls((-2408, -9077, 180), (-2408, -9404, 210));
CreateGrids((-2600, -8414, -109), (-2900, -8189, -109), (0, 0, 0));
CreateGrids((-4148, -7030, -109), (-4003, -6627, -109), (0, 0, 0));
CreateGrids((-3329, -8005, -108), (-4530, -7921, -108), (0, -50, 0));
CreateDoors((-1920, -8500, 8), (-1737, -8488, 8), (90, 90, 0), 6, 2, 17, 70);
CreateBlocks((-3928, -6884, -109), (0, -77, 0));
CreateBlocks((-3947, -6814, -109), (0, -77, 0));
CreateBlocks((-3908, -6951, -109), (0, -77, 0));
CreateBlocks((-3910, -7121, -109), (0, -60, 0));
CreateBlocks((-3725, -7352, -109), (0, -59, 0));
CreateBlocks((-3691, -7408, -109), (0, -59, 0));
CreateBlocks((-3880, -7175, -110), (0, -60, 0));
CreateBlocks((2024, -4185, -85), (90, 0, 0));
CreateBlocks((1994, -4185, -85), (90, 0, 0));
CreateRamps((-45, -8180, -109), (-227, -8180, -39));
CreateRamps((-162, -9392, 858), (-650, -9392, 560));
CreateRamps((-3985, -6733, -108), (-3955, -7076, -108));
CreateRamps((-3967, -6897, -108), (-3776, -7310, -108));
Sentry1 = spawnTurret( "misc_turret", (-438, -8486, 252), "sentry_minigun_mp" );
Sentry1.angles = (0, 180, 0);
Sentry1 setModel( "sentry_minigun" );
Sentry2 = spawnTurret( "misc_turret", (1550, -7032, 132), "sentry_minigun_mp" );
Sentry2.angles = (0, 180, 0);
Sentry2 setModel( "weapon_minigun" );
Sentry3 = spawnTurret( "misc_turret", (1550, -6711, 132), "sentry_minigun_mp" );
Sentry3.angles = (0, 180, 0);
Sentry3 setModel( "weapon_minigun" );
Sentry3 = spawnTurret( "misc_turret", (-4033, -6695, 88), "sentry_minigun_mp" );
Sentry3.angles = (0, -55, 0);
Sentry3 setModel( "sentry_minigun" );
Sentry3 = spawnTurret( "misc_turret", (-4169, -6720, 88), "sentry_minigun_mp" );
Sentry3.angles = (0, -55, 0);
Sentry3 setModel( "sentry_minigun" );
Sentry4 = spawnTurret( "misc_turret", (2045, -7497 , 76), "sentry_minigun_mp" );
Sentry4.angles = (0, 0, 0);
Sentry4 setModel( "sentry_minigun" );
The door is working well: