[Map] [MAP]Underwater City
#1

I hope you like it
http://smages.com/i/a0/10/a01027ff4f...5c92929fe9.jpg
http://smages.com/i/3a/c6/3ac66562b6...bf634edebc.jpg
(screens 1280x1024 )



Код:
#include <a_samp>
new Rocket;
new HEP1, HEP2, HEP3, HEP4;
new Float:RX, Float:RY, Float:RZ;
new playername[256];
forward RocketRot();
new UCCar[4];
new IsCarTun[4];
new bool:IsPlayerTeled[MAX_PLAYERS];
//==============================================================================
public OnFilterScriptInit()
{
	SetTimer("RocketRot", 100, 1);
	print(" -Underwater City By Orr_Orange- ");
	HEP1 = CreatePickup(1559, 23, 361.695, -2690.93, -37.0078);
	HEP2 = CreatePickup(1559, 23, 2324.43, -1149.42, 1050.9);
	HEP3 = CreatePickup(1559, 23, 483.693, -2750.46, -37.7078);
	HEP4 = CreatePickup(1559, 23, 528.02, -2750.22, -15.2078);
      UCCar[0] = CreateVehicle(457, 357.6695, -2672.8857, -38.1232, 180, 3, 0, 5000); //
	UCCar[1] = CreateVehicle(485, 290.5558, -2686.6860, -38.0909, 180, 6, 0, 5000); //
	UCCar[2] = CreateVehicle(572, 321.6700, -2704.0017, -38.1701, 0, 86, 0, 5000); //
	UCCar[3] = CreateVehicle(583, 306.3830, -2808.7241, -38.2095, 270, 0, 0, 5000); //
      CreateVehicle(510, 396.1951, -2812.3066, -35.2935, 0, 0, 0, 5000); //
	CreateVehicle(510, 408.6263, -2815.8379, -37.9731, 270, 0, 0, 5000); //
	CreateVehicle(510, 434.4711, -2802.7959, -35.2655, 90, 0, 0, 5000); //
      Rocket = CreateObject(3884, 313.9, -2679.1, -29.0078, 0, 0, 0);
	CreateObject(5001, 537.189, -2810.46, -36.0078, 0, 0, 0);//
      CreateObject(5001, 290.589, -2773.62, -36.0078, 0, 0, 270);//
      CreateObject(5001, 327.33, -2689.9, -36.0078, 0, 0, 540);//
      CreateObject(5001, 573.95, -2726.72, -36.00780, 0, 0, 450);//
      CreateObject(5005, 393.688, -2833.36, -35.3078, 0, 0, 0);//
      CreateObject(5005, 467.19, -2667.02, -35.3078, 0, 0, 0);//
	CreateObject(6283, 421.173, -2809.04, -33.8 ,0, 0, 0);
	CreateObject(3588, 310.901, -2789.21, -36.1078, 0, 0, 180);
	CreateObject(3588, 341.901, -2789.21, -36.1078, 0, 0, 0);
	CreateObject(8493, 355.609, -2728.83, 13.0922, 0, 0, 0);
	CreateObject(9159, 355.61, -2728.87, 13.0922, 0, 0, 0);
	CreateObject(8881, 556.973, -2745.32, -4.76, 0, 0, 387);
	CreateObject(8882, 505.56, -2753.18, -4.70781, 0, 0, 387);
	CreateObject(8620, 472.583, -2685.32, -15.7078, 0, 0, 90);
	CreateObject(8644, 469.922, -2685.44, -27.7078, 0, 0, 387);
	CreateObject(8981, 355.053, -2734.93, 12.5922, 0, 0, 0);
	CreateObject(3259, 389.989, -2825.3, -38.8078, 0, 0, 270);
	CreateObject(3259, 389.989, -2818.4, -38.8078, 0, 0, 450);
	CreateObject(3259, 389.989, -2808.5, -38.8078, 0, 0, 270);
	CreateObject(3259, 389.989, -2801.6, -38.8078, 0, 0, 450);
	CreateObject(3257, 377.558, -2814, -38.8078, 0, 0, 0);
	CreateObject(3255, 364.255, -2808.8, -38.8078, 0, 0, 180);
	CreateObject(3255, 364.255, -2819.9, -38.8078, 0, 0, 0);
	CreateObject(14464, 394.454, -2811.12, -38.5078, 0, 0, 270);
	CreateObject(14464, 370.645, -2817.22, -38.5078, 0, 0, 450);
	CreateObject(5520, 322.911, -2675.06, -33.7078, 0, 0, 0);
	CreateObject(3885, 313.88, -2679.11, -29.0078, 0, 0, 0);
	CreateObject(1596, 331.021, -2675.05, -28.4078, 0, 0, 0);
	CreateObject(3640, 346.002, -2675.06, -34.3078, 0, 0, 0);
	CreateObject(3639, 333.402, -2708.21, -34.4078, 0, 0, 180);
	CreateObject(3642, 315.295, -2708.21, -35.83, 0, 0, 180);
	CreateObject(3641, 301.81, -2691.48, -36.35, 0, 0, 270);
	CreateObject(641, 336.541, -2679.17, -41.0078, 0, 0, 0);
	CreateObject(615, 302.924, -2679.06, -41.0078, 0, 0, 0);
	CreateObject(3605, 374.341, -2691.92, -32.7078, 0, 0, 270);
	CreateObject(13681, 279.052, -2720.76, -34.1078, 0, 0, 450);
	CreateObject(5299, 414.831, -2822.67, -39.1078, 0, 0, 0);
	CreateObject(617, 284.278, -2696.68, -39.1078, 0, 0, 0);
	CreateObject(10763, 468.16, -2673.27, -36.0078, 0, 0, 0);
	CreateObject(10763, 468.16, -2839.57, -36.0078, 0, 0, 0);
	CreateObject(982, 448.952, -2681.27, -38.1078, 0, 0, 0);
	CreateObject(982, 448.952, -2706.87, -38.1078, 0, 0, 0);
	CreateObject(982, 448.952, -2790.87, -38.1078, 0, 0, 0);
	CreateObject(982, 448.952, -2816.47, -38.1078, 0, 0, 0);
	CreateObject(982, 448.952, -2681.27, -36.9078, 0, 0, 0);
	CreateObject(982, 448.952, -2706.87, -36.9078, 0, 0, 0);
	CreateObject(982, 448.952, -2790.87, -36.9078, 0, 0, 0);
	CreateObject(982, 448.952, -2816.47, -36.9078, 0, 0, 0);
	CreateObject(982, 460.052, -2726.07, -36.9078, 0, 0, 60);
	CreateObject(982, 460.052, -2726.07, -38.1078, 0, 0, 60);
	CreateObject(982, 460.952, -2773.67, -36.9078, 0, 0, 290);
	CreateObject(982, 460.952, -2773.67, -38.1078, 0, 0, 290);
      CreateObject(8620, 472.583, -2814.52, -15.7078, 0, 0, 90);//
	CreateObject(8644, 469.922, -2814.64, -27.7078, 0, 0, 387);//
	CreateObject(789, 498.499, -2680.44, -25.5078, 0, 0, 450);
	CreateObject(774, 478.499, -2710.44, -38.8078, 0, 0, 0);
	CreateObject(776, 458.858, -2673.63, -38.8078, 0, 0, 0);
	CreateObject(770, 455.395, -2701.26, -38.8078, 0, 0, 0);
	CreateObject(772, 581.176, -2712.76, -38.8078, 0, 0, 0);
	CreateObject(656, 576.095, -2687.59, -38.7078, 0, 0, 0);
	CreateObject(714, 560.773, -2814.71, -42.3078, 0, 0, 450);
	CreateObject(764, 559.851, -2696.82, -38.8078, 0, 0, 0);
	CreateObject(777, 543.918, -2675.18, -38.8078, 0, 0, 0);
	CreateObject(774, 532.799, -2690.64, -38.8078, 0, 0, 222);
	CreateObject(777, 493.918, -2805.18, -38.8078, 0, 0, 0);
	CreateObject(774, 522.599, -2820.64, -38.8078, 0, 0, 0);
	CreateObject(656, 584.45, -2778.34, -38.7078, 0, 0, 0);
	CreateObject(669, 521.519, -2804.12, -38.6078, 0, 0, 0);
	CreateObject(726, 468.194, -2788.14, -38.9078, 0, 0, 0);
	CreateObject(770, 454.095, -2821.26, -38.8078, 0, 0, 0);
	CreateObject(10280, 273.164, -2767.72, -36.7178, 0, 0, 450);
	CreateObject(3600, 330.453, -2819.19, -30.8, 0, 0, 450);
	CreateObject(3600, 312.653, -2818.79, -30.8078, 0, 0, 270);
	CreateObject(3115, 484.942, -2741.22, -33.66, 0, 270, 0);
	CreateObject(3115, 484.942, -2759.72, -33.66, 0, 270, 0);
	CreateObject(3115, 479.742, -2741.22, -26.16, 0, 180, 0);
	CreateObject(3115, 479.742, -2759.72, -26.16, 0, 180, 0);
	CreateObject(17575, 291.022, -2761.63, -35.05, 0, 0, 450);
	CreateObject(1537, 484.5, -2751.26, -38.756, 0, 0, 270);
	CreateObject(3434, 490.169, -2750.98, -9.4078, 0, 0, 270);
      CreateObject(11490, 335.551, -2743.35, -38.8078, 0, 0, 270);//
	CreateObject(11491, 324.504, -2743.42, -37.3078, 0, 0, 270);//
	CreateObject(16061, 255.422, -2745.61, -38.8078, 0, 0, 180);
      CreateObject(16061, 606.922, -2745.61, -38.8078, 0, 0, 180);
      CreateObject(16061, 595.222, -2819.01, -38.8078, 0, 0, 115);
      CreateObject(16061, 595.222, -2679.51, -38.8078, 0, 0, 245);
      CreateObject(16061, 274.722, -2679.51, -38.8078, 0, 0, 135);
      CreateObject(16061, 274.722, -2819.01, -38.8078, 0, 0, 225);
	CreateObject(16061, 335.422, -2655.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 405.422, -2655.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 475.422, -2655.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 545.422, -2655.61, -38.8078, 0, 0, 90);
	CreateObject(16061, 335.422, -2845.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 405.422, -2845.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 475.422, -2845.61, -38.8078, 0, 0, 90);
      CreateObject(16061, 545.422, -2845.61, -38.8078, 0, 0, 90);
	CreateObject(14537, 540.511, -2771.67, -14.36, 0, 0, 0);
	CreateObject(1432, 540.74, -2782.32, -16.16, 0, 0, 0);
	CreateObject(1432, 536.44, -2786.52, -16.16, 0, 0, 0);
	CreateObject(1432, 545.34, -2787.62, -16.16, 0, 0, 0);
	CreateObject(1432, 539.04, -2790.92, -16.16, 0, 0, 0);
	CreateObject(1432, 534.94, -2794.52, -16.16, 0, 0, 0);
	CreateObject(1432, 546.14, -2793.02, -16.16, 0, 0, 0);
	CreateObject(9833, 522.038, -2750.04, -5.90781, 0, 0, 0);
	CreateObject(623, 420.251, -2821.24, -38.8078, 0, 0, 0);
	CreateObject(621, 354.241, -2825.98, -39.5078, 0, 0, 0);
	CreateObject(733, 288.353, -2811.36, -39.7078, 0, 0, 0);
	CreateObject(12986, 278.228, -2699.65, -37.3078, 0, 0, 0);
	CreateObject(3038, 354.533, -2732.52, 9.3922, 0, 0, 0);
	CreateObject(3472, 449.519, -2778.68, -38.4078, 0, 0, 0);
	CreateObject(3472, 449.519, -2719.28, -38.4078, 0, 0, 0);
	CreateObject(10631, 425.023, -2679.66, -34.6078, 0, 0, 180);
	CreateObject(18232, 425.294, -2830.09, -38.8078, 0, 0, 180);
	CreateObject(11666, 331.18, -2743.32, -35.63, 0, 0, 270);
	CreateObject(11631, 339.14, -2739.8, -36.07, 0, 0, 270);
	CreateObject(9245, 382.868, -2791.12, -27.0078, 0, 0, 180);
	CreateObject(5716, 373.419, -2741.69, -25.49, 0, 0, 450);
	CreateObject(10675, 425.023, -2675.77, -35.6078, 0, 0, 270);
	CreateObject(8675, 302.637, -2732.67, -29.8078, 0, 0, 270);
	CreateObject(6972, 484.568, -2750.48, -54.256, 0, 0, 0);
	CreateObject(8550, 564.43, -2742.15, -16.26, 0, 0, 0);
	CreateObject(3524, 304.6, -2719.4, -22.0078, 0, 0, 270);
	CreateObject(621, 315.36, -2768.08, -39.2078, 0, 0, 0);
	CreateObject(664, 397.144, -2687.33, -38.9078, 0, 0, 0);
	CreateObject(712, 382.789, -2764.25, -29.3078, 0, 0, 0);
      CreateObject(712, 382.789, -2729.95, -29.3078, 0, 0, 0);
	CreateObject(1497, 527.357, -2749.42, -16.28, 0, 0, 270);
	CreateObject(9482, 391.172, -2746.49, -32.2078, 0, 0, 0);
	return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/uctele", cmdtext, true) == 0)
	{
           new string[256];
		SetPlayerInterior(playerid, 0);
		SetPlayerPos(playerid, 382.261, -2746.38, -37.6078);
		if(IsPlayerTeled[playerid] == false)
    {
			GetPlayerName(playerid, playername, 256);
			format(string, sizeof(string)," *Player %s teleported to Underwater City", playername);
			SendClientMessageToAll(0xAAFF00AA, string);
			IsPlayerTeled[playerid] = true;
		}
		return 1;
	}
	return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == HEP1) //Вход в здание
	{
		SetPlayerInterior(playerid, 12);
		SetPlayerPos(playerid, 2324.43, -1147.42, 1050.9);
	}
	if(pickupid == HEP2) //Выход из здания
	{
		SetPlayerPos(playerid, 358.85, -2690.88, -37.75);
    SetPlayerInterior(playerid, 0);
	}
	if(pickupid == HEP3) //Вход на крышу
	{
		SetPlayerPos(playerid, 529.92, -2750.22, -15.2078);
	}
	if(pickupid == HEP4) //Выход
	{
		SetPlayerPos(playerid, 481.71, -2750.25, -37.75);
	}
	return 1;
}
public RocketRot()
{
	GetObjectRot(Rocket, RX, RY, RZ);
	SetObjectRot(Rocket, RX, RY, RZ+1);
}
//==============================================================================
public OnPlayerEnterVehicle (playerid, vehicleid)
{
  if(vehicleid == UCCar[0])
		{
		if(IsCarTun[0] == 0)
		{
			AddVehicleComponent(UCCar[0], 1087);//hydr
      IsCarTun[0] = 1;
		}
	}
	if(vehicleid == UCCar[1])
		{
		if(IsCarTun[1] == 0)
		{
			AddVehicleComponent(UCCar[1], 1087);//hydr
      IsCarTun[1] = 1;
		}
	}
	if(vehicleid == UCCar[2])
		{
		if(IsCarTun[2] == 0)
		{
			AddVehicleComponent(UCCar[2], 1087);//hydr
      IsCarTun[2] = 1;
		}
	}
	if(vehicleid == UCCar[3])
		{
		if(IsCarTun[3] == 0)
		{
			AddVehicleComponent(UCCar[3], 1087);//hydr
      IsCarTun[3] = 1;
		}
	}
	
}
public OnPlayerDeath(playerid, killerid, reason)
{
  IsPlayerTeled[playerid] = false;
}
Reply
#2

lul! Nice!
Reply
#3

Nice.
Reply
#4

Nice map
Reply
#5

not bad
Reply
#6

Pics? Vids?
Reply
#7

screens aren't opening anymore
Reply
#8

yeah
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)