Gangautohaus errors

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

  • C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2051) : error 017: undefined symbol "ahModell"
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 017: undefined symbol "GangCar"
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : warning 215: expression has no effect
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 001: expected token: ";", but found "]"
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 029: invalid expression, assumed zero
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.



    Zeile: C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2051) : error 017: undefined symbol "ahModell"

    new GangautohausListe[0][ahModell] = {
    {"Sentinel",0,405,-1,425000,2500,2450.86108398,1326.93554688,10.82031250,0.0},
    {"Sultan",0,560,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Washington",0,421,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Buritto",0,482,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},//304
    {"Comet",0,480,-1,8000000,2500,00000.000000,0.00000,0.000000,0.00000}, // Hier5
    {"Savanna",0,567,-1,350000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Tornado",0,576,-1,525000,2500,00000.000000,0.00000,0.000000,0.00000},//268
    {"Infernus",0,411,-1,11500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Blade",0,536,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Greenwood",0,492,-1,1500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Cheetah",0,415,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"FCR900",0,521,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"PCJ-600",0,461,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},//2014
    {"BF400",0,581,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000}, // Hier15
    {"Hustler",0,545,-1,3250000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Sabre",0,475,-1,450000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Slamvan",0,535,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Wayfarer",0,586,-1,600000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Freeway",0,463,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Strech",0,409,-1,80000000,2500,00000.000000,0.00000,0.000000,0.00000},//22
    {"Phoenix",0,603,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Stratum",0,561,-1,3070000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Picador",0,600,-1,2005000,2500,00000.000000,0.00000,0.000000,0.00000}, //25 such ma eben die liste
    {"Club",0,589,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Flash",0,565,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Oceanic",0,467,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Regina",0,479,-1,1500000,2500,00000.000000,0.00000,0.000000,0.00000},//430
    {"Mesa",0,500,-1,1750000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Yosemite",0,554,-1,2500000,2500,0.000000,0.00000,0.000000,0.00000}
    };


    Zeile: 3563


    GangCar[vehicleid][Fraktion] != 0 &&
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pLeader] &&
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pMember])

    German Projekt Reallife

    87.98.244.35:3434

  • Schreib das mal so:


    new GangautohausListe[][30] = {
    {"Sentinel",0,405,-1,425000,2500,2450.86108398,1326.93554688,10.82031250,0.0},
    {"Sultan",0,560,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Washington",0,421,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Buritto",0,482,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},//304
    {"Comet",0,480,-1,8000000,2500,00000.000000,0.00000,0.000000,0.00000}, // Hier5
    {"Savanna",0,567,-1,350000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Tornado",0,576,-1,525000,2500,00000.000000,0.00000,0.000000,0.00000},//268
    {"Infernus",0,411,-1,11500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Blade",0,536,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Greenwood",0,492,-1,1500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Cheetah",0,415,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"FCR900",0,521,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"PCJ-600",0,461,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},//2014
    {"BF400",0,581,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000}, // Hier15
    {"Hustler",0,545,-1,3250000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Sabre",0,475,-1,450000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Slamvan",0,535,-1,1000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Wayfarer",0,586,-1,600000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Freeway",0,463,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Strech",0,409,-1,80000000,2500,00000.000000,0.00000,0.000000,0.00000},//22
    {"Phoenix",0,603,-1,3500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Stratum",0,561,-1,3070000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Picador",0,600,-1,2005000,2500,00000.000000,0.00000,0.000000,0.00000}, //25 such ma eben die liste
    {"Club",0,589,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Flash",0,565,-1,4500000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Oceanic",0,467,-1,3000000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Regina",0,479,-1,1500000,2500,00000.000000,0.00000,0.000000,0.00000},//430
    {"Mesa",0,500,-1,1750000,2500,00000.000000,0.00000,0.000000,0.00000},
    {"Yosemite",0,554,-1,2500000,2500,0.000000,0.00000,0.000000,0.00000}
    };


    und bei den anderen Zeilen poste pls mehr Code ;)


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Kaliber
    mal dran gedacht, das davor ein Enum kommt und deswegen da ahModell drin steht?


    Wenn du eine Arraygröße da reinschreibst, macht das nicht wirklich Sinn

    "Bevor ich mir Informationen aus der "Bild" hole,
    werde ich anfangen, Wahlergebnisse danach vorauszusagen,
    neben welchen Busch unsere Katze gepinkelt hat."

    Margarete Stokowski

  • Kaliber
    mal dran gedacht, das davor ein Enum kommt und deswegen da ahModell drin steht?


    Wenn du eine Arraygröße da reinschreibst, macht das nicht wirklich Sinn


    Da kann aber kein enum davor sein, da er ja einen Error hat, nämlich undefined symbol "ahModell" und doch ich kann da eine Arraygröße reinschreiben :)


    mfg. :thumbup:


    //Edit:


    Function OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    new string[100];
    if(!ispassenger &&
    GangCar[vehicleid][Fraktion] != 0 &&
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pLeader] &&
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pMember])
    {
    SendClientMessage(playerid,COLOR_RED,"Das Auto gehört einer Fraktion");
    TogglePlayerControllable(playerid,true);
    return 1;
    }
    if(GangCar[vehicleid][Buyable] == 1)
    {
    if(PlayerInfo[playerid][pLeader] == 0)
    {
    SendClientMessage(playerid,COLOR_RED,"Das ist ein Gangauto. Nur Leader können es kaufen");
    TogglePlayerControllable(playerid,true);
    return 1;
    }

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S

  • Man kann, es macht aber keinen Sinn,
    da sich verschiedene Variablen Typen in dem Array tummeln.


    Zitat

    Da kann aber kein enum davor sein


    Das hat er wohl vergessen

    "Bevor ich mir Informationen aus der "Bild" hole,
    werde ich anfangen, Wahlergebnisse danach vorauszusagen,
    neben welchen Busch unsere Katze gepinkelt hat."

    Margarete Stokowski


  • C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2052) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2052) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2052) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2052) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2053) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2053) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2053) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2053) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2054) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2054) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2054) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2054) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2055) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2055) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2055) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2055) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2056) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2056) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2056) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2056) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2057) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2057) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2057) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2057) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2058) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2058) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2058) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2058) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2059) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2059) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2059) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2059) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2060) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2060) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2060) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2060) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2061) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2061) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2061) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2061) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2062) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2062) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2062) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2062) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2063) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2063) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2063) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2063) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2064) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2064) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2064) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2064) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2065) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2065) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2065) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2065) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2066) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2066) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2066) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2066) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2067) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2067) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2067) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2067) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2068) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2068) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2068) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2068) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2069) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2069) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2069) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2069) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2070) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2070) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2070) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2070) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2071) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2071) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2071) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2071) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2072) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2072) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2072) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2072) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2073) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2073) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2073) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2073) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2074) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2074) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2074) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2074) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2075) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2075) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2075) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2075) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2076) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2076) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2076) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2076) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2077) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2077) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2077) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2077) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2078) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2078) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2078) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2078) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2079) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2079) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2079) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2079) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2080) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2080) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2080) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(2080) : warning 213: tag mismatch
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 017: undefined symbol "GangCar"
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : warning 215: expression has no effect
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 001: expected token: ";", but found "]"
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : error 029: invalid expression, assumed zero
    C:\Users\Anastasia\Desktop\Scripting woho\gamemodes\Release.pwn(3563) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.



    Function OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    new string[100];
    if(!ispassenger &&
    GangCar[vehicleid][Fraktion] != 0 &&
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pLeader])
    GangCar[vehicleid][Fraktion] != PlayerInfo[playerid][pMember])
    {
    SendClientMessage(playerid,COLOR_RED,"Das Auto gehört einer Fraktion");
    TogglePlayerControllable(playerid,true);
    return 1;
    }
    if(GangCar[vehicleid][Buyable] == 1)
    {
    if(PlayerInfo[playerid][pLeader] == 0)
    {
    SendClientMessage(playerid,COLOR_RED,"Das ist ein Gangauto. Nur Leader können es kaufen");
    TogglePlayerControllable(playerid,true);
    return 1;
    }

    German Projekt Reallife

    87.98.244.35:3434

  • Man kann, es macht aber keinen Sinn,
    da sich verschiedene Variablen Typen in dem Array tummeln.



    Das hat er wohl vergessen


    Du hast recht mit den verschiedenen Variablen Typen, gar nicht darauf geachtet :D


    Ja okay, dann ist das natürlich sinnlos, dann ist das alles da sinnlos 8|


    Ich bin raus, keine Lust da jetzt alles um zuschreiben ;)


    mfg. :thumbup:

    ast2ufdyxkb1.png


    Leute, lernt scripten und versucht mal lieber etwas selber zu schreiben, als es aus einem GF zu kopieren. :S