Hallo liebe Com,
da die Feuerwehr nix zu tun hat will ich machen das dass Feuer Automatisch ausbrich.
Nur ich bekomme es nicht hin.
Function Autofire3()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsAFeuer(i))
{
SendClientMessage(i, 0xFF0005FF, "------------Brand Information------------");
SendClientMessage(i, 0xF0F0F0FF, "Brand am BSN!!!");
SendClientMessage(i, 0xF0F0F0FF, "Alle verfügbaren Einheiten zum Einsatzort");
AddFire(9062,305.9552,999.1484); // feuer1
AddFire(273.9068,304.0428,999.1484); // feuer2
AddFire(273.9066,304.8470,999.1484); // feuer3
AddFire(271.4340,307.1922,999.1484); // feuer4
AddFire(1535.0345,-797.4837,72.2684); // feuer5
AddFire(271.4343,308.5654,999.1484); // feuer6
AddFire(270.4774,305.8200,999.1558); // feuer7
AddFire(267.8054,303.4088,999.1484); // feuer8
AddFire(267.0684,305.5421,999.1484); // feuer9
AddFire(271.1585,303.4099,999.1558); // feuer10
AddFire(1534.8750,-802.8886,72.2927); // feuer11
AddFire(1535.0338,-805.6840,72.2366); // feuer12
AddFire(1539.4976,-807.0741,72.2175); // feuer13
AddFire(1543.1777,-807.1106,72.2175); // feuer14
AddFire(1547.6951,-803.8439,72.2175); // feuer15
AddFire(1547.8966,-798.3927,72.2175); // feuer16
AddFire(1547.6964,-795.9570,72.2175); // feuer17
AddFire(1536.4456,-793.4362,76.2837); // feuer18
AddFire(1540.7996,-793.4819,76.2886); // feuer19
AddFire(1543.6479,-802.2548,77.6915); // feuer20
AddFire(1540.8336,-804.1810,77.1940); // feuer21
SetTimer("Autofire4", 2400000, 0);
}
}
}
return 1;
}
if(strcmp(cmd,"/brand2", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >=4)
{
AddFire(1196.5767,-918.9282,43.1353); // feuer1
AddFire(1194.3164,-917.7292,43.1595); // feuer2
AddFire(1191.4591,-917.5294,43.2026); // feuer3
AddFire(1188.5320,-917.6357,43.2382); // feuer4
AddFire(1185.2877,-917.3595,43.2769); // feuer5
AddFire(1184.9591,-915.5319,43.2776); // feuer6
AddFire(1185.8984,-912.0138,43.2591); // feuer7
AddFire(1185.7859,-909.5634,43.2645); // feuer8
AddFire(1185.3021,-906.3329,43.2640); // feuer9
AddFire(1185.0790,-903.0229,43.2607); // feuer10
AddFire(1182.7781,-901.8381,43.2815); // feuer11
AddFire(1179.0228,-896.6697,43.3100); // feuer12
AddFire(1181.1047,-905.2687,43.3037); // feuer13
AddFire(1202.8712,-919.4841,43.0888); // feuer14
AddFire(1205.4897,-919.0368,43.0746); // feuer15
AddFire(1207.5551,-917.9940,43.0639); // feuer16
AddFire(1208.5004,-917.5167,43.0534); // feuer17
AddFire(1210.7944,-914.6788,43.0260); // feuer18
AddFire(1210.2969,-912.5375,43.0274); // feuer19
AddFire(1209.4282,-908.8575,43.0299); // feuer20
AddFire(1209.4446,-906.6421,43.0261); // feuer21
AddFire(1208.8826,-903.9096,43.0271); // feuer22
AddFire(1208.8828,-901.5885,43.0233); // feuer23
AddFire(1220.2523,-910.2012,42.9087); // feuer24
AddFire(1219.1061,-898.3949,42.9067); // feuer25
AddFire(363.3792,-72.3523,1001.5078); // feuer26
AddFire(362.4045,-69.6278,1001.5078); // feuer27
AddFire(361.9682,-66.8991,1001.5078); // feuer28
AddFire(364.0298,-67.3629,1001.5078); // feuer29
AddFire(364.0250,-69.2861,1001.5078); // feuer30
AddFire(363.6273,-70.9933,1001.5078); // feuer31
AddFire(363.4521,-72.4429,1001.5078); // feuer32
AddFire(362.3984,-72.9484,1001.5078); // feuer33
AddFire(365.1219,-75.3126,1001.5078); // feuer34
AddFire(367.4015,-75.1943,1001.5078); // feuer35
AddFire(368.9755,-75.1088,1001.5078); // feuer36
AddFire(371.7991,-75.6779,1001.5078); // feuer37
AddFire(374.0027,-76.7807,1001.5078); // feuer38
AddFire(375.6467,-75.6551,1001.5078); // feuer39
AddFire(377.1903,-76.1523,1001.5078); // feuer40
AddFire(379.0915,-73.7191,1001.5078); // feuer41
AddFire(378.0865,-71.0874,1001.5151); // feuer42
AddFire(379.2489,-70.9626,1001.5078); // feuer43
AddFire(375.6094,-72.2038,1002.8271); // feuer44
AddFire(372.8952,-72.0289,1002.3328); // feuer45
AddFire(373.7148,-72.3000,1002.3328); // feuer46
AddFire(377.1321,-67.4442,1001.5078); // feuer47
AddFire(374.8796,-67.4821,1001.5078); // feuer48
AddFire(373.6974,-64.5419,1001.5151); // feuer49
AddFire(373.3742,-65.6734,1001.5078); // feuer50
AddFire(381.6470,-68.6292,1001.5078); // feuer51
AddFire(382.2391,-67.2945,1001.5078); // feuer52
AddFire(382.0414,-66.3514,1001.5078); // feuer53
AddFire(381.8421,-65.4012,1001.5078); // feuer54
AddFire(381.6012,-64.2527,1001.5078); // feuer55
AddFire(381.4089,-61.1016,1001.5078); // feuer56
AddFire(381.1918,-60.0664,1001.5078); // feuer57
AddFire(382.5752,-57.6145,1001.5078); // feuer56
AddFire(382.2863,-57.3466,1001.5151); // feuer58
AddFire(382.0690,-56.4964,1001.5151); // feuer59
AddFire(381.1615,-57.2283,1001.5078); // feuer60
AddFire(375.3128,-60.7197,1002.6595); // feuer61
AddFire(375.8899,-61.6872,1002.6595); // feuer62
AddFire(375.3142,-58.9723,1002.6671); // feuer63
SetTimer("Autofire2", 600000, 0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsAFeuer(i))
{
SendClientMessage(i, 0xFF0005FF, "------------Brand Information------------");
SendClientMessage(i, 0xF0F0F0FF, "Großbrand am Burger Shot North!!");
SendClientMessage(i, 0xF0F0F0FF, "Alle verfügbaren Einheiten zum Einsatzort");
//SetPlayerCheckpoint(playerid, 1460.4482,-1033.0635,23.6563, 6);
}
}
}
return 1;
/* if(IsPlayerInRangeOfPoint(playerid,6.0,1196.5767,-918.9282,43.1353))
{
if (PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
GivePlayerMoney(playerid,15000);
SendClientMessage(playerid, COLOR_WHITE, "Du Hast Die Bank Erreicht.");
return 1;
}
}*/
}
else SendClientMessage(playerid, COLOR_LIGHTGREEN, "Bist du etwa Admin?");
}
Wie geht das nun?
Hoffe ihr könnt mir helfen
Mfg
Denis