16.02.2010, 11:29
ELIMINATION
It is a simple DM area I made.Good for servers that have like /dm1 /dm2 /dm3..
pawn Код:
//ELIMINATION
CreateObject(16774, 834.266174, -238.823242, 19.330347, 0.0000, 0.0000, 0.0000);
CreateObject(16096, 793.045776, -232.436920, 17.332611, 0.0000, 0.0000, 0.0000);
CreateObject(11458, 789.959351, -249.896713, 14.427918, 0.0000, 0.0000, 0.0000);
CreateObject(11458, 823.920959, -263.669952, 19.238762, 0.0000, 0.0000, 90.0000);
CreateObject(11457, 775.175842, -228.790070, 11.932997, 0.0000, 0.0000, 0.0000);
CreateObject(11459, 827.462708, -276.234802, 20.683176, 0.0000, 0.0000, 0.0000);
CreateObject(11446, 810.742920, -257.528503, 17.617958, 0.0000, 0.0000, 11.2500);
CreateObject(11445, 802.522583, -255.946320, 16.237892, 0.0000, 0.0000, 90.0000);
CreateObject(11442, 811.739014, -280.408447, 18.783297, 0.0000, 0.0000, 236.2501);
CreateObject(11428, 783.442322, -269.792114, 18.311188, 0.0000, 0.0000, 191.2500);
CreateObject(11427, 835.137878, -289.043396, 29.385630, 0.0000, 0.0000, 56.2500);
CreateObject(11426, 837.194275, -301.042755, 23.992302, 0.0000, 0.0000, 146.2500);
CreateObject(11425, 837.177612, -280.309448, 21.677610, 0.0000, 0.0000, 123.7500);
CreateObject(11088, 874.647400, -254.439072, 26.068312, 0.0000, 0.0000, 90.0000);
CreateObject(10942, 852.735779, -274.420258, 46.817146, 0.0000, 0.0000, 270.0000);
CreateObject(10401, 758.030212, -247.548416, 10.649605, 0.0000, 0.0000, 0.0000);
CreateObject(9039, 923.550842, -324.209442, 51.790764, 0.0000, 0.0000, 348.7500);
CreateObject(8870, 787.976746, -220.762634, 18.159185, 0.0000, 0.0000, 45.0000);
CreateObject(8867, 861.431824, -356.324310, 17.424168, 0.0000, 0.0000, 315.0000);
CreateObject(8397, 767.970337, -314.916901, 8.821115, 0.0000, 47.2690, 0.0000);
CreateObject(3406, 872.758545, -332.463898, 38.251789, 0.0000, 7.7349, 0.0000);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/Elimination", true, 6))
{
SetPlayerPos(playerid,911.3269,-380.6875,51.3110);
GameTextForPlayer(playerid, "~r~Welcome to the elimination area.", 5000, 3);
return 1;
}
return 0;
}