Hey, wie kann ich die Cars destroyen, die bei dem Befehl: "/eventv" erstellt werden?
if(strcmp(strget(cmdtext,0),"/eventv", true) == 0)
{
if(isPlayerAnAdmin(playerid,3))
{
if(!strlen(strget(cmdtext,3))) return SendClientMessage(playerid,lila,"Benutzung: /v [VehicleID] [Farbe 1] [Farbe 2]");
{
new i,l,m,car;
i = strval(strget(cmdtext,1));
l = strval(strget(cmdtext,2));
m = strval(strget(cmdtext,3));
car = AddStaticVehicle(i,1304.2081,2191.1091,11.1571,269.7975,l,m);
car = AddStaticVehicle(i,1304.2787,2187.8918,11.1897,267.4146,l,m);
car = AddStaticVehicle(i,1304.2531,2184.3003,11.2451,270.5466,l,m);
car = AddStaticVehicle(i,1304.0464,2181.1528,11.2229,269.2606,l,m);
car = AddStaticVehicle(i,1304.0393,2177.5366,11.2235,270.4434,l,m);
car = AddStaticVehicle(i,1303.9381,2174.2720,11.2249,271.1221,l,m);
car = AddStaticVehicle(i,1304.1851,2170.6604,11.2172,269.7393,l,m);
car = AddStaticVehicle(i,1304.2711,2167.0242,11.2213,269.8313,l,m);
car = AddStaticVehicle(i,1304.0854,2163.3779,11.2249,269.7813,l,m);
car = AddStaticVehicle(i,1304.2292,2159.7483,11.2208,270.9100,l,m);
car = AddStaticVehicle(i,1304.4099,2156.1750,11.2180,269.9117,l,m);
car = AddStaticVehicle(i,1304.3754,2151.9131,11.2256,270.3239,l,m);
car = AddStaticVehicle(i,1304.4825,2148.7161,11.2226,270.7129,l,m);
car = AddStaticVehicle(i,1304.3282,2145.4226,11.2229,269.5179,l,m);
car = AddStaticVehicle(i,1304.3828,2141.5667,11.2178,270.2500,l,m);
car = AddStaticVehicle(i,1304.4354,2138.1887,11.2253,269.6171,l,m);
car = AddStaticVehicle(i,1304.4293,2134.4036,11.2199,270.1364,l,m);
car = AddStaticVehicle(i,1304.4797,2131.0413,11.1891,269.6705,l,m);
car = AddStaticVehicle(i,1304.2579,2127.4277,11.2200,270.7581,l,m);
car = AddStaticVehicle(i,1304.3901,2123.5391,11.2212,270.6658,l,m);
car = AddStaticVehicle(i,1304.4305,2119.4795,11.2249,270.5550,l,m);
car = AddStaticVehicle(i,1304.6262,2116.0637,11.2650,271.7332,l,m);
car = AddStaticVehicle(i,1304.6798,2111.6489,11.2186,269.8823,l,m);
car = AddStaticVehicle(i,1387.4506,2189.8867,11.2170,91.0588,l,m);
car = AddStaticVehicle(i,1387.5978,2186.1787,11.2212,89.6755,l,m);
car = AddStaticVehicle(i,1387.3557,2182.5566,11.2231,91.9860,l,m);
car = AddStaticVehicle(i,1387.4690,2177.6177,11.2192,90.4282,l,m);
car = AddStaticVehicle(i,1387.4156,2174.3201,11.2232,90.5527,l,m);
car = AddStaticVehicle(i,1387.6007,2170.9500,11.2238,90.9942,l,m);
car = AddStaticVehicle(i,1387.5692,2167.3015,11.2213,89.5170,l,m);
car = AddStaticVehicle(i,1387.6407,2164.0093,11.2223,89.0654,l,m);
car = AddStaticVehicle(i,1387.3671,2160.2107,11.2231,89.7678,l,m);
car = AddStaticVehicle(i,1387.3275,2156.0188,11.2247,88.5929,l,m);
car = AddStaticVehicle(i,1386.7546,2152.1108,11.2284,89.2856,l,m);
car = AddStaticVehicle(i,1387.1925,2148.2651,11.2197,89.7547,l,m);
car = AddStaticVehicle(i,1387.1732,2145.2600,11.2236,90.7185,l,m);
car = AddStaticVehicle(i,1387.1396,2141.8118,11.2200,89.7593,l,m);
car = AddStaticVehicle(i,1387.0857,2138.1968,11.2274,89.8135,l,m);
car = AddStaticVehicle(i,1386.9325,2134.8823,11.2191,91.3519,l,m);
car = AddStaticVehicle(i,1387.2644,2131.7842,11.2233,91.4155,l,m);
car = AddStaticVehicle(i,1387.2209,2128.0828,11.2143,89.7608,l,m);
car = AddStaticVehicle(i,1387.5023,2124.3391,11.2133,90.1337,l,m);
car = AddStaticVehicle(i,1387.3032,2120.6702,11.2135,90.3999,l,m);
car = AddStaticVehicle(i,1387.6743,2116.8445,11.2167,89.5216,l,m);
car = AddStaticVehicle(i,1387.0256,2112.8230,11.2182,90.5816,l,m);
car = AddStaticVehicle(i,1386.9988,2108.8882,11.2157,89.7419,l,m);
}
}
else SendClientMessage(playerid,orange,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}SuperModerator (3)");
return 1;
}
if(strcmp(strget(cmdtext,0),"/eventdestroyv", true) == 0)
{
if(isPlayerAnAdmin(playerid,3))
{
}
else SendClientMessage(playerid,orange,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}SuperModerator (3)");
return 1;
}
MfG
Andre