Beiträge von alexkraemer

    Hallo Leute ich habe 5 Errors in meinem Script das ist ein GF Script und ich Hoffe ihr könnt mir helfen bitte


    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11530) : error 001: expected token: "-identifier-", but found ";"
    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11531) : error 029: invalid expression, assumed zero
    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11531) : error 001: expected token: ")", but found "sizeof"
    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11531) : warning 215: expression has no effect
    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11531) : error 001: expected token: ";", but found ")"
    C:\Users\Alex\Desktop\Neuer Server SAMP\gamemodes\Gamemode.pwn(11531) : fatal error 107: too many error messages on one line



    Function LoadIRC()
    {
    new arrCoords[5][64];
    new strFromFile2[256];
    new File: file = fopen("channels.cfg", io_read);
    if (file)
    {
    new idx; // Zeile 11530
    while (idx < sizeof(IRCInfo)) // Zeile 11531
    {
    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, '|');
    strmid(IRCInfo[idx][iAdmin], arrCoords[0], 0, strlen(arrCoords[0]), 255);
    strmid(IRCInfo[idx][iMOTD], arrCoords[1], 0, strlen(arrCoords[1]), 255);
    strmid(IRCInfo[idx][iPassword], arrCoords[2], 0, strlen(arrCoords[2]), 255);
    IRCInfo[idx][iNeedPass] = strval(arrCoords[3]);
    IRCInfo[idx][iLock] = strval(arrCoords[4]);
    printf("IRC:%d Admin:%s MOTD: %s Password: %s NeedPass: %d Lock: %d",idx,IRCInfo[idx] [iAdmin],IRCInfo[idx][iMOTD],IRCInfo[idx] [iPassword],IRCInfo[idx][iNeedPass],IRCInfo[idx][iLock]);
    idx++;//LOGSPAMM
    }
    fclose(file);
    }
    return 1;
    }