Hilfe 4 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:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : error 012: invalid function call, not a valid address
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : error 001: expected token: ";", but found ")"
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : error 029: invalid expression, assumed zero
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2441) : 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.


    Wenn ich die zeile lösche dann ist es in der näcsten zeile


    AddStaticSprunk(0,-2221.0208,1048.6288,79.40,90.000000); // Sprunk Yakuza
    AddStaticSprunk(1,244.101684,71.951873,1003.000000,0.000000); // Sprunk LSPD
    AddStaticSprunk(2,225.1049,181.9862,1002.400000,90.000000); // Sprunk LVPD
    AddStaticSprunk(3,240.2045,115.1092,1002.600000,90.000000); // Sprunk SFPD

  • Neue errors


    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2429) : error 001: expected token: ";", but found ")"
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2429) : error 036: empty statement
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2429) : error 017: undefined symbol "i"
    C:\Dokumente und Einstellungen\Edel\Desktop\GTA San Andreas\gamemodes\gf.pwn(2429) : 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.


    bald haben wir es^^

    Einmal editiert, zuletzt von Bode ()

  • public OnGameModeInit()
    {
    if(TOGGLE_DEBUG_MODE)
    {
    print(" //DEBUG: CALL OnGameModeInit()");
    }


    /// Private Declares
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];


    /// Set fuel for vehicles
    for(new c = 0; c < CAR_AMOUNT; c++)
    {
    Gas[code=c] = GasMax;
    }


    /// Loading stuff
    LoadProperty();
    LoadBizz();
    LoadSBizz();
    LoadBoxer();
    LoadStuff();
    LoadIRC();
    LoadFamilies();
    LoadCK();
    LoadTurfs();


    IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
    IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
    IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
    IRCInfo[9][iPlayers] = 0;
    News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
    format(string, sizeof(string), "Nothing");
    strmid(News[hAdd1], string, 0, strlen(string), 255);
    strmid(News[hAdd2], string, 0, strlen(string), 255);
    strmid(News[hAdd3], string, 0, strlen(string), 255);
    strmid(News[hAdd4], string, 0, strlen(string), 255);
    strmid(News[hAdd5], string, 0, strlen(string), 255);
    format(string1, sizeof(string1), "No-one");
    strmid(News[hContact1], string1, 0, strlen(string1), 255);
    strmid(News[hContact2], string1, 0, strlen(string1), 255);
    strmid(News[hContact3], string1, 0, strlen(string1), 255);
    strmid(News[hContact4], string1, 0, strlen(string1), 255);
    strmid(News[hContact5], string1, 0, strlen(string1), 255);
    PlayerHaul[254][pCapasity] = 150;
    PlayerHaul[255][pCapasity] = 150;
    PlayerHaul[258][pCapasity] = 150;
    PlayerHaul[256][pCapasity] = 75;
    PlayerHaul[257][pCapasity] = 75;
    PlayerHaul[259][pCapasity] = 75;
    PlayerHaul[260][pCapasity] = 75;
    PlayerHaul[261][pCapasity] = 150;
    PlayerHaul[453][pCapasity] = 150;
    PlayerHaul[454][pCapasity] = 150;
    PlayerHaul[455][pCapasity] = 150;
    PlayerHaul[456][pCapasity] = 150;
    PlayerHaul[457][pCapasity] = 75;
    PlayerHaul[458][pCapasity] = 75;
    PlayerDust[307][pdCapasity] = 150;
    PlayerDust[308][pdCapasity] = 150;
    PlayerDust[309][pdCapasity] = 150;
    PlayerDust[310][pdCapasity] = 150;
    PlayerDust[311][pdCapasity] = 150;
    PlayerDust[312][pdCapasity] = 150;
    PlayerPizza[447][pCapasity] = 20;
    PlayerPizza[448][pCapasity] = 20;
    PlayerPizza[449][pCapasity] = 20;
    PlayerPizza[450][pCapasity] = 50;
    PlayerPizza[451][pCapasity] = 50;
    PlayerPizza[452][pCapasity] = 50;
    SetGameModeText("The [GF]:LS/SF/LV");
    format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
    format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
    format(motd, sizeof(motd), "Welcome to the Role Play - GTA WorldMods Server.");
    gettime(ghour, gminute, gsecond);
    FixHour(ghour);
    if(!realtime)
    {
    SetWorldTime(wtime);
    }
    SetPDistance(10);
    EnableTirePopping(1);
    EnableZoneNames(1);
    AllowInteriorWeapons(1);
    AllowAdminTeleport(1);
    UsePlayerPedAnims();
    SetWeather(11);
    // CreatedCars check
    for(new i = 0; i < sizeof(CreatedCars); i++)
    {
    CreatedCars = 0;
    }
    // Zones
    for(new i = 0; i < sizeof(TurfInfo); i++)
    {
    Turfs = GangZoneCreate(TurfInfo[zMinX],TurfInfo[zMinY],TurfInfo[zMaxX],TurfInfo[i][zMaxY]);
    }
    // Player Class's
    for(new i = 0; i <= sizeof(Peds)-1); i++) HIER
    [/i][i]
    {
    AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
    }
    // Car Spawns
    for(new h = 0; h < 86; h++)
    {
    AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
    gCarLock[h+1] = 1;
    }//64
    SpawnCars();
    //objects
    AddStaticSprunk(0,-2221.0208,1048.6288,79.40,90.000000); // Sprunk Yakuza
    AddStaticSprunk(1,244.101684,71.951873,1003.000000,0.000000); // Sprunk LSPD
    AddStaticSprunk(2,225.1049,181.9862,1002.400000,90.000000); // Sprunk LVPD
    AddStaticSprunk(3,240.2045,115.1092,1002.600000,90.000000); // Sprunk SFPD
    //CreateObject(4099,268.56,72.85,1001.03,0.0,0.0,50.00);// Zellen 1-3
    CreateObject(1495,266.315,82.3500,1000.03,0.0,0.0,90.00);// Zelle 2
    CreateObject(1495,266.32,86.8750,1000.03,0.0,0.0,90.00);// Zelle 3
    CreateStreamObject(16644,1564.719,-1643.595,27.189,0.0,0.0,90.000,200.0);// Copfahrstuhl Steg
    CreateStreamObject(3934,1566.630,-1652.910,27.430,0.0,0.0,0.0,200.0);// Copheli Landeplatz 1
    CreateStreamObject(3934,1566.630,-1701.150,27.430,0.0,0.0,0.0,200.0);// Copheli Landeplatz 2
    CreateStreamObject(3934,1764.190,-1895.160,12.580,0.0,0.0,0.0,200.0);// Taxi Heli Landeplatz
    CreateStreamObject(3934,-2205.50,970.58,83.845,0.0,0.0,90.00,200.0);// Yakuza Heli Landeplatz
    CreateStreamObject(3934,-2047.00,-115.50,34.31,0.0,0.0,90.0,200.0);// Fahrschule Heli Landeplatz
    CreateStreamObject(3934,1260.00,-1679.00,33.80,0.0,0.0,90.0,200.0);// FBI Heli Landeplatz
    CreateStreamObject(3934,1237.50,-1679.00,33.80,0.0,0.0,90.0,200.0);// FBI Heli Landeplatz
    CreateStreamObject(3934,2291.80,2441.50,46.00,0.0,0.0,90.0,200.0);// LVPD Heli Landeplatz
    CreateStreamObject(3934,2273.90,2441.50,46.00,0.0,0.0,90.0,200.0);// LVPD Heli Landeplatz
    CreateStreamObject(3934,1231.85,-1303.40,12.45,0.0,0.0,90.0,200.0);// Medic Heli Landeplatz LS
    CreateStreamObject(3934,-2703.32,623.02,13.45,0.0,0.0,90.0,200.0);// Medic Heli Landeplatz SF
    CreateStreamObject(3934,-1631.5066,658.1474,6.1800,0.0,0.0,90.00,200.0);// SFPD Heli Landeplatz
    CreateStreamObject(3934,-226.41,997.26,18.58,-0.18,-0.55,90.0,200.0);// Special Forces Landeplatz
    CreateStreamObject(3934,2064.00,-2559.50,12.57,0.0,0.0,0.0,200.0);// LS




    usw xD[/i][/i]

    2 Mal editiert, zuletzt von Bode ()

  • public OnGameModeInit()
    {
    if(TOGGLE_DEBUG_MODE)
    {
    print(" //DEBUG: CALL OnGameModeInit()");
    }


    in


    public OnGameModeInit()
    {
    if(TOGGLE_DEBUG_MODE)
    {
    print(" DEBUG: CALL OnGameModeInit()");


  • //Player Class's
    for(new i = 0; i <= sizeof(Peds)-1; i++)
    {
    AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
    }
    // Car Spawns
    for(new h = 0; h < 86; h++)
    {
    AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
    gCarLock[h+1] = 1;
    }//64
    SpawnCars();
    //objects
    AddStaticSprunk(0,-2221.0208,1048.6288,79.40,90.000000); // Sprunk Yakuza
    AddStaticSprunk(1,244.101684,71.951873,1003.000000,0.000000); // Sprunk LSPD
    AddStaticSprunk(2,225.1049,181.9862,1002.400000,90.000000); // Sprunk LVPD
    AddStaticSprunk(3,240.2045,115.1092,1002.600000,90.000000); // Sprunk SFPD
    CreateObject(4099,268.56,72.85,1001.03,0.0,0.0,50.00);// Zellen 1-3
    CreateObject(1495,266.315,82.3500,1000.03,0.0,0.0,90.00);// Zelle 2
    CreateObject(1495,266.32,86.8750,1000.03,0.0,0.0,90.00);// Zelle 3
    CreateStreamObject(16644,1564.719,-1643.595,27.189,0.0,0.0,90.000,200.0);// Copfahrstuhl Steg
    CreateStreamObject(3934,1566.630,-1652.910,27.430,0.0,0.0,0.0,200.0);// Copheli Landeplatz 1
    CreateStreamObject(3934,1566.630,-1701.150,27.430,0.0,0.0,0.0,200.0);// Copheli Landeplatz 2
    CreateStreamObject(3934,1764.190,-1895.160,12.580,0.0,0.0,0.0,200.0);// Taxi Heli Landeplatz
    CreateStreamObject(3934,-2205.50,970.58,83.845,0.0,0.0,90.00,200.0);// Yakuza Heli Landeplatz



    (2441) : error 012: invalid function call, not a valid address
    (2441) : warning 215: expression has no effect
    (2441) : warning 215: expression has no effect
    (2441) : warning 215: expression has no effect
    (2441) : warning 215: expression has no effect
    (2441) : warning 215: expression has no effect
    (2441) : error 001: expected token: ";", but found ")"
    (2441) : error 029: invalid expression, assumed zero
    (2441) : fatal error 107: too many error messages on one line


    2441= 14
    Scripte zu sammen mit Bode!


    Diese fehler kommen bei mir... Hab schon versucht diese line mit // zu versehen so das pawno sie beim compilieren nicht beachtet, aber dann kommen die fehler an einer anderen stelle xD

  • Hi hab ein problem ich bekomm 4 Erros die heissen so:



    :error 017: undefined symbol "CreatedCars"
    : error 036: empty statement
    : error 017: undefined symbol "i"


    In dieser zeile hier:


    for(new i = 0; i < sizeof(CreatedCars); i++)



    Aber ich weis nicht wo hier der fehler ist.
    kann mir wer da bitte helfen?
    MfG bigb1927

    BIN KEIN [GMC] IST R.I.P