09.03.2011, 20:03
(
Последний раз редактировалось Tee; 11.03.2011 в 06:56.
)
I created this map for a HQ in one of the orgs on my RPserver. It is simple so I decided to release it.
This map is located in Terria Robada. I don't know the exact location of the map but it is near Dearest Airport (Abandoned Airstrip) and Area 69 or 51 not sure xD.
When you go close to the entrance (The green line) the gate will open. When you are away from it. Gate will close.
Pastebin.
This map is simple so please do not spam about how it is. We all know it is simple .
This map is located in Terria Robada. I don't know the exact location of the map but it is near Dearest Airport (Abandoned Airstrip) and Area 69 or 51 not sure xD.
When you go close to the entrance (The green line) the gate will open. When you are away from it. Gate will close.
pawn Код:
new TGateH,TGateStateH[20];
public OnGameModeInit()
{
CreateObject(986,-539.84960938,2546.28417969,54.19199371,0.00000000,0.00000000,1.24694824); //object(gate_autol) (12)
CreateObject(986,-531.86035156,2546.44726562,54.19199371,0.00000000,0.00000000,0.24169922); //object(gate_autol) (13)
CreateObject(986,-523.97534180,2546.46093750,54.19199371,0.00000000,0.00000000,359.99694824); //object(gate_autol) (14)
CreateObject(986,-515.97656250,2546.48413086,54.19199371,0.00000000,0.00000000,359.99450684); //object(gate_autol) (15)
CreateObject(986,-515.97656250,2546.48339844,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-543.71191406,2550.24023438,54.19199371,0.00000000,0.00000000,88.74206543); //object(gate_autol) (12)
CreateObject(986,-510.49609375,2546.51855469,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-543.47314453,2558.19555664,54.19199371,0.00000000,0.00000000,87.49206543); //object(gate_autol) (12)
CreateObject(986,-543.38110352,2561.01953125,54.19199371,0.00000000,0.00000000,87.48962402); //object(gate_autol) (12)
CreateObject(986,-547.14257812,2565.14453125,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-555.13891602,2565.45458984,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-563.12127686,2565.76049805,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-571.06970215,2566.09814453,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-579.02032471,2566.40991211,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-584.89941406,2566.62304688,54.19199371,0.00000000,0.00000000,177.73681641); //object(gate_autol) (12)
CreateObject(986,-584.89941406,2566.62304688,54.19199371,0.00000000,0.00000000,177.73132324); //object(gate_autol) (12)
CreateObject(986,-506.41958618,2550.43994141,54.19199371,0.00000000,0.00000000,268.48352051); //object(gate_autol) (16)
CreateObject(986,-506.18395996,2558.29931641,54.19199371,0.00000000,0.00000000,268.47839355); //object(gate_autol) (16)
CreateObject(986,-506.01306152,2566.25048828,54.19199371,0.00000000,0.00000000,268.47839355); //object(gate_autol) (16)
CreateObject(986,-505.82565308,2574.21435547,54.19199371,0.00000000,0.00000000,268.47839355); //object(gate_autol) (16)
CreateObject(986,-505.62976074,2582.17578125,54.19199371,0.00000000,0.00000000,268.47839355); //object(gate_autol) (16)
CreateObject(986,-505.55709839,2584.77783203,54.19199371,0.00000000,0.00000000,268.47839355); //object(gate_autol) (16)
CreateObject(986,-505.57360840,2601.19726562,54.19199371,0.00000000,0.00000000,268.97839355); //object(gate_autol) (16)
CreateObject(986,-505.43591309,2609.13208008,54.19199371,0.00000000,0.00000000,268.97827148); //object(gate_autol) (16)
CreateObject(986,-505.29675293,2617.07910156,54.19199371,0.00000000,0.00000000,268.97827148); //object(gate_autol) (16)
CreateObject(986,-505.15960693,2625.07397461,54.19199371,0.00000000,0.00000000,268.97827148); //object(gate_autol) (16)
CreateObject(986,-505.01498413,2633.02197266,54.19199371,0.00000000,0.00000000,268.97827148); //object(gate_autol) (16)
CreateObject(986,-504.93429565,2636.31958008,54.19199371,0.00000000,0.00000000,268.97827148); //object(gate_autol) (16)
CreateObject(986,-508.91421509,2640.25585938,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-516.93469238,2640.24560547,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-524.93060303,2640.23559570,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-532.90142822,2640.22973633,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-537.68225098,2640.25317383,54.19199371,0.00000000,0.00000000,359.98352051); //object(gate_autol) (16)
CreateObject(986,-542.08660889,2625.55737305,54.19199371,0.00000000,0.00000000,88.74206543); //object(gate_autol) (12)
CreateObject(986,-541.89843750,2633.56030273,54.19199371,0.00000000,0.00000000,88.74206543); //object(gate_autol) (12)
CreateObject(986,-541.83874512,2636.35424805,54.19199371,0.00000000,0.00000000,88.74206543); //object(gate_autol) (12)
CreateObject(986,-546.09210205,2621.58276367,54.19199371,0.00000000,0.00000000,179.48681641); //object(gate_autol) (12)
CreateObject(986,-554.07098389,2621.65966797,54.19199371,0.00000000,0.00000000,179.48364258); //object(gate_autol) (12)
CreateObject(986,-562.04370117,2621.69116211,54.19199371,0.00000000,0.00000000,179.48364258); //object(gate_autol) (12)
CreateObject(986,-570.02087402,2621.74047852,54.19199371,0.00000000,0.00000000,179.48364258); //object(gate_autol) (12)
CreateObject(986,-572.42053223,2621.73730469,54.19199371,0.00000000,0.00000000,179.48364258); //object(gate_autol) (12)
CreateObject(986,-580.32159424,2620.90576172,54.19199371,0.00000000,0.00000000,192.98364258); //object(gate_autol) (12)
CreateObject(986,-589.51959229,2570.73779297,54.19199371,0.00000000,0.00000000,279.48132324); //object(gate_autol) (12)
CreateObject(986,-581.24017334,2620.67236328,54.19199371,0.00000000,0.00000000,192.98034668); //object(gate_autol) (12)
CreateObject(986,-585.92730713,2615.77270508,54.19199371,0.00000000,0.00000000,78.98034668); //object(gate_autol) (12)
TGateH = CreateObject(971, -505.5048828125, 2593.0556640625, 55.983978271484, 0, 0, 270);//close
return 1;
}
forward Gate(playerid);
public Gate(playerid)
{
TGateStateH[playerid] = 0;
for(new i;i<MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i)) continue;
if(IsPlayerInRangeOfPoint(i,25.0,-505.5048828125, 2593.0556640625, 55.983978271484))TGateStateH[playerid] = 1;
}
if(TGateStateH[playerid])MoveObject(TGateH, -505.65878295898, 2601.5754394531, 55.89282989502,5.0);
else MoveObject(TGateH, -505.5048828125, 2593.0556640625, 55.983978271484,3.0);
}
This map is simple so please do not spam about how it is. We all know it is simple .