Hallo
Und zwar habe ich ein Problem das jeder mit den Frak Cars fahren kan an was liegt das.
z.B
new lspdcars[22];
lspdcars[0] = AddStaticVehicle(596,1595.5004,-1711.8094,5.6125,3.2942,111,79); // PDCAR!
lspdcars[1] = AddStaticVehicle(596,1591.7721,-1711.8201,5.6115,1.0218,111,79); // PDCAR2
lspdcars[2] = AddStaticVehicle(596,1588.0232,-1711.6543,5.6114,357.9614,111,79); // PDCAR3
lspdcars[3] = AddStaticVehicle(596,1583.6765,-1711.6149,5.6120,0.0565,111,79); // PDCAR4
lspdcars[4] = AddStaticVehicle(596,1578.6002,-1711.6088,5.6131,357.3123,111,79); // PDCAR5
lspdcars[5] = AddStaticVehicle(596,1574.8381,-1711.6641,5.6136,0.7573,111,79); // PDCAR6
lspdcars[6] = AddStaticVehicle(596,1570.7046,-1712.0315,5.6179,358.3778,111,79); // PDCAR7
lspdcars[7] = AddStaticVehicle(596,1546.2631,-1684.7836,5.6129,91.0586,111,79); // PDCAR8
lspdcars[8] = AddStaticVehicle(596,1546.3280,-1680.1981,5.6111,88.9499,111,79); // PDCAR9
lspdcars[9] = AddStaticVehicle(596,1527.6473,-1687.9993,5.6120,269.8314,111,79); // PDCAR10
lspdcars[10] = AddStaticVehicle(596,1527.8246,-1684.5730,5.6120,265.9751,111,79); // PDCAR11
lspdcars[11] = AddStaticVehicle(596,1546.1267,-1671.7355,5.6108,88.7909,111,79); // PDCAR13
lspdcars[12] = AddStaticVehicle(596,1545.8496,-1676.0033,5.6123,90.6636,111,79); // PDCAR12
lspdcars[13] = AddStaticVehicle(599,1545.0728,-1672.0374,5.6107,92.7078,111,79); // 1
lspdcars[14] = AddStaticVehicle(599,1544.9469,-1668.2765,5.6124,91.4684,111,79); // 2
lspdcars[15] = AddStaticVehicle(523,1546.3441,-1663.2893,5.6122,93.4370,111,79); // 3
lspdcars[16] = AddStaticVehicle(523,1545.1813,-1659.1376,5.6123,92.2238,111,79); // 4
lspdcars[17] = AddStaticVehicle(596,1545.5861,-1655.2043,5.6119,91.1493,111,79); // 5
lspdcars[18] = AddStaticVehicle(596,1544.0602,-1651.5839,5.6109,92.4546,111,79); // 6
lspdcars[19] = AddStaticVehicle(596,1539.0616,-1645.5468,5.6128,182.2262,111,79); // 7
lspdcars[20] = AddStaticVehicle(596,1534.4794,-1645.0345,5.6126,183.9700,111,79); // 8
lspdcars[21] = AddStaticVehicle(596,1530.6166,-1644.7585,5.6130,182.5175,111,79); //
if(!ispassenger)return SendClientMessage(playerid, 0xFFF000FF,"Du kannst das Fahrzeug mit {FF0A00}/motor {FFF000}starten. Die Scheinwerfer können mit {FF0A00}/licht {FFF000}angeschaltet werden");
{
for(new i=0;i<sizeof(lspdcars);i++)
{
if(vehicleid == lspdcars[i])
{
if(Spieler[playerid][Team] != 1)
{
RemovePlayerFromVehicle(playerid);
FreezePlayer(playerid);
UnfreezePlayer(playerid);
}
}
}
Danke im vorraus.
Mfg.
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link