Jump to content

[MAP]Admin's Beach


Recommended Posts

Guest PeTruTz
Posted

O Plaja doar pentru Admini.

Locatie: Maria Beach

Screen Shot's: mtascreen0001.th.jpg

                     mtascreen0002.th.jpg

                     mtascreen0003.th.jpg

                     mtascreen0004.th.jpg

Obiecte:

CreateObject(987, 359.900879, -1817.673340, 3.237816, 0.0000, 0.0000, 179.6224);
CreateObject(987, 347.933990, -1817.779053, 3.232033, 0.0000, 0.0000, 179.6224);
CreateObject(987, 330.666046, -1817.773804, 3.263539, 0.0000, 0.0000, 179.6224);
CreateObject(987, 318.682373, -1817.690918, 3.266867, 0.0000, 0.0000, 179.6224);
CreateObject(987, 306.734375, -1817.514160, 3.236579, 0.0000, 0.0000, 268.8998);
CreateObject(987, 306.533997, -1829.507202, 2.989200, 0.0000, 0.0000, 268.8998);
CreateObject(987, 306.374847, -1841.315552, 3.023853, 0.0000, 2.5783, 268.8998);
CreateObject(987, 306.153931, -1853.288330, 2.461979, 0.0000, 2.5783, 268.8998);
CreateObject(987, 305.940765, -1865.245605, 1.911231, 0.0000, 2.5783, 268.8998);
CreateObject(987, 305.690216, -1877.235840, 1.400598, 0.0000, 2.5783, 268.8998);
CreateObject(974, 361.040894, -1882.521362, 4.033947, 0.0000, 0.0000, 90.2409);
CreateObject(974, 360.777313, -1889.499268, 3.788336, 0.0000, 359.1406, 85.9437);
CreateObject(985, 360.074371, -1820.281250, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.083527, -1828.164917, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.132813, -1836.026733, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.192261, -1843.888550, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.233795, -1851.760498, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.245209, -1859.631592, 8.521605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.290497, -1867.496216, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.340363, -1883.265747, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.324524, -1875.389160, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.382111, -1891.129761, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.437500, -1899.070068, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.458496, -1906.953979, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.494110, -1914.829468, 8.546605, 0.0000, 0.0000, 90.2409);
CreateObject(985, 360.665588, -1922.710327, 8.550169, 0.0000, 0.0000, 90.2409);
CreateObject(974, 333.593597, -1817.497681, 6.060245, 0.0000, 0.0000, 0.0000);
CreateObject(985, 360.690582, -1930.565430, 8.545088, 0.0000, 0.0000, 90.2409);
CreateObject(972, 346.224457, -1921.886475, -2.864434, 0.0000, 0.0000, 269.0037);
CreateObject(972, 321.322784, -1921.604858, -2.817502, 0.0000, 0.0000, 269.0037);
CreateObject(972, 315.295044, -1921.503906, -2.862462, 0.0000, 0.0000, 269.0037);
CreateObject(987, 305.309875, -1889.254517, 0.792732, 0.0000, 2.5783, 268.8998);
CreateObject(972, 308.191162, -1910.157593, -1.907564, 356.5623, 0.8594, 179.7261);
CreateObject(902, 308.890381, -1896.817993, 0.346755, 0.0000, 0.0000, 0.0000);
CreateObject(1598, 349.609955, -1892.508911, 0.963343, 0.0000, 0.0000, 0.0000);
CreateObject(1598, 328.286987, -1874.435791, 1.925046, 0.0000, 0.0000, 0.0000);
CreateObject(1598, 352.709442, -1855.725708, 2.763871, 0.0000, 0.0000, 0.0000);
CreateObject(1598, 318.409576, -1835.613525, 2.995021, 0.0000, 0.0000, 0.0000);
CreateObject(1601, 330.245758, -1920.171509, -2.452286, 0.0000, 0.0000, 0.0000);
CreateObject(1605, 310.220337, -1919.910645, -3.609147, 0.0000, 0.0000, 0.0000);
CreateObject(1606, 353.250305, -1920.893311, -1.679686, 0.0000, 0.0000, 0.0000);
CreateObject(1641, 318.590698, -1892.056030, 0.714105, 2.5783, 359.1406, 0.0000);
CreateObject(1641, 329.698151, -1893.987183, 0.970986, 2.5783, 358.2811, 15.4699);
GoTo:
	if(strcmp(cmd, "/gotoabeach", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if(PlayerInfo[playerid][pAdmin] >= 1)
			{
				if (GetPlayerState(playerid) == 2)
				{
					new tmpcar = GetPlayerVehicleID(playerid);
					SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
					TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
				}
				else
				{
					SetPlayerPos(playerid, 339.6279,-1880.2253,2.5576);
				}
				SendClientMessage(playerid, COLOR_RED, "   You have been teleported !");
				SetPlayerInterior(playerid,0);
				PlayerInfo[playerid][pInt] = 0;
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
			}
		}
		return 1;
	}

Posted

Ca sa fie pentru admini (RCON) foloseste asta:

	if(strcmp(cmd, "/gotoabeach", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
               if(IsPlayerAdmin(playerid))
               {
			if (GetPlayerState(playerid) == 2)
			{
					new tmpcar = GetPlayerVehicleID(playerid);
					SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
					TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
			}
			else
			{
					SetPlayerPos(playerid, 339.6279,-1880.2253,2.5576);
			}
				SendClientMessage(playerid, COLOR_RED, "   You have been teleported !");
				SetPlayerInterior(playerid,0);
				PlayerInfo[playerid][pInt] = 0;
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
			}
		}

            }
		return 1;
	}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.