new baustelle[16];//Ganz Oben
if(strcmp(cmdtext, "/baustelle1",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 2002))return SendClientMessage(playerid,ROT,"Du bist kein Admin!");
SendClientMessage(playerid,COLOR_YELLOW,"Du hast die Baustelle am Ammunation geöffnet!");
SendClientMessageToAll(GELB,"~~~~~~~~~~~~~~~~~~~ B A U S T E L L E ~~~~~~~~~~~~~~~~~~~~");
SendClientMessageToAll(GELB,"Achtung: Es wurde eine Baustelle, am Ammunation gesichtet!");
SendClientMessageToAll(GELB,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
baustelle[0] CreateDynamicObject(987, 1379.19995, -1599.09998, 12.5, 0, 0, 156);
baustelle[1] CreateDynamicObject(987, 1411.19995, -1709, 12.6, 0, 0, 88);
baustelle[2] CreateDynamicObject(987, 1354.5, -1683.90002, 12.7, 0, 0, 0);
baustelle[3] CreateDynamicObject(987, 1347.09998, -1684.19995, 12.6, 0, 0, 0);
baustelle[4] CreateDynamicObject(987, 1368.40002, -1673.59998, 12.8, 0, 16, 334);
baustelle[5] CreateDynamicObject(987, 1352.59998, -1619.09998, 12.7, 0, 0, 268);
baustelle[6] CreateDynamicObject(987, 1353, -1663.19995, 12.6, 0, 0, 267.995);
baustelle[7] CreateDynamicObject(987, 1353.30005, -1672.30005, 12.7, 0, 0, 267.995);
baustelle[8] CreateDynamicObject(987, 1353.09998, -1619.19995, 12.7, 0, 0, 0);
baustelle[9] CreateDynamicObject(1231, 1385.5, -1652.90002, 15.3, 0, 0, 90);
baustelle[10] CreateDynamicObject(1231, 1377.40002, -1653.19995, 15.3, 0, 0, 55.999);
baustelle[11] CreateDynamicObject(1231, 1396.30005, -1653, 15.3, 0, 0, 90);
baustelle[12] CreateDynamicObject(1231, 1407.59998, -1652.90002, 15.3, 0, 0, 90);
baustelle[13] CreateDynamicObject(1231, 1368.09998, -1664.09998, 15.2, 0, 0, 142);
baustelle[14] CreateDynamicObject(1231, 1377.09998, -1661.90002, 15.3, 0, 0, 175.998);
baustelle[15] CreateDynamicObject(1231, 1378.40002, -1672.90002, 15, 0, 0, 153.995);
}
else return
{
if(PlayerInfo[playerid][pAdmin] >= 2002))return SendClientMessage(playerid,ROT,"Du bist kein Admin!");
SendClientMessage(playerid,COLOR_YELLOW,"Du hast die Baustelle am Ammunation geschlossen!");
SendClientMessageToAll(GELB,"~~~~~~~~~~~~~~~~~~~ B A U S T E L L E ~~~~~~~~~~~~~~~~~~~~");
SendClientMessageToAll(GELB,"Achtung: Es wurde eine Baustelle, am Ammunation geschlossen!");
SendClientMessageToAll(GELB,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
for(new b = 0; b < sizeof baustelle; b++) DestroyDynamicObject(baustelle[b]);
}