[GODFAHTER][SCRTIPFILE] Brauche Gangzone.cfg Datei für Godfather Scritp

  • [GODFAHTER][SCRTIPFILE] Brauche Gangzone.cfg Datei für Godfather Scritp

    Hallo
    Ich bin ein GF Script am Bearbeiten (Projekt-Sunset ist aber schon mehrere Jahre in anderem Gebrauch ;) ) und da habe ich nur die PWN Bekommen, von hTex (Server-Free.de Inhaber) und er hatte mal nen Projekt Namen's GameCide da hatten sie es auch, ist aber schon ne Zeit lang her,
    Und er gab mir nur die PWN und AMX, aber er hat keine Scritpfiles,
    Aber ich habe welche aus dem Englichen Forum, unzwar die Standart GF Scriptfiles,
    Aber da gibt es ein Problem,
    Es gibt keine GangZone's/Robplayes und co,
    Da wollt ich Fragen ob jemand vllt das Projekt-Sunset Scritp von euch hat, und so nett wäre mir die Scriptfiles (wenn möglich alle) geben könnte.
    Ich wäre wirklich sehr Glücklich darüber.

    Ich würde zwar auch Jony (Projekt-Sunset Inhaber) Anschreiben, aber ich werde wohl nicht mehr bekommen als ein NEIN, da das Projekt ja wieder online ist.
    Und ja

    Ich hoffe das mir jemand helfen kann.


    MFG
    Raphael
    Verkaufe UCP,
    Bitte Kauft es, weitere Infos hier:
    easy-scripting.net/index.php?p…rketplaceEntry&entryID=24
  • So sehen die 2 Teile aus wo die Ganzgone.cfg Abgefragt wird.

    [pwn]public LoadGangZoneInfo()
    {
    new arrCoords[17][128];
    new strFromFile2[256];
    new File: file = fopen("/confic/gangzone.cfg", io_read);
    if (file)
    {
    new idx;
    while (idx < sizeof(GangZoneInfo))
    {
    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, '|');
    GangZoneInfo[idx][zID] = strval(arrCoords[0]);
    GangZoneInfo[idx][zOwned] = strval(arrCoords[1]);
    GangZoneInfo[idx][zGang] = strval(arrCoords[2]);
    strmid(GangZoneInfo[idx][zOwner], arrCoords[3], 0, strlen(arrCoords[3]), 255);
    GangZoneInfo[idx][zMinX] = floatstr(arrCoords[4]);
    GangZoneInfo[idx][zMinY] = floatstr(arrCoords[5]);
    GangZoneInfo[idx][zMaxX] = floatstr(arrCoords[6]);
    GangZoneInfo[idx][zMaxY] = floatstr(arrCoords[7]);
    GangZoneInfo[idx][zMoney] = strval(arrCoords[8]);
    GangZoneInfo[idx][zAttackAgain] = strval(arrCoords[9]);
    strmid(GangZoneInfo[idx][zZName], arrCoords[10], 0, strlen(arrCoords[10]), 255);
    GangZoneInfo[idx][zSpawn1X] = floatstr(arrCoords[11]);
    GangZoneInfo[idx][zSpawn1Y] = floatstr(arrCoords[12]);
    GangZoneInfo[idx][zSpawn1Z] = floatstr(arrCoords[13]);
    GangZoneInfo[idx][zSpawn2X] = floatstr(arrCoords[14]);
    GangZoneInfo[idx][zSpawn2Y] = floatstr(arrCoords[15]);
    GangZoneInfo[idx][zSpawn2Z] = floatstr(arrCoords[16]);


    printf("Name: %s | MinX: %f | MinY: %f | MaxX: %f | MaxY: %f",
    GangZoneInfo[idx][zZName],
    GangZoneInfo[idx][zMinX],
    GangZoneInfo[idx][zMinY],
    GangZoneInfo[idx][zMaxX],
    GangZoneInfo[idx][zMaxY]);
    idx++;
    }
    fclose(file);
    }
    printf("** Gang Zones successfully loaded **");
    return 1;
    }

    public OnGangZoneUpdate()
    {
    new idx;
    new File: file2;
    while (idx < sizeof(GangZoneInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%d|%d|%s|%f|%f|%f|%f|%d|%d|%s|%f|%f|%f|%f|%f|%f\n",
    GangZoneInfo[idx][zID],
    GangZoneInfo[idx][zOwned],
    GangZoneInfo[idx][zGang],
    GangZoneInfo[idx][zOwner],
    GangZoneInfo[idx][zMinX],
    GangZoneInfo[idx][zMinY],
    GangZoneInfo[idx][zMaxX],
    GangZoneInfo[idx][zMaxY],
    GangZoneInfo[idx][zMoney],
    GangZoneInfo[idx][zAttackAgain],
    GangZoneInfo[idx][zZName],
    GangZoneInfo[idx][zSpawn1X],
    GangZoneInfo[idx][zSpawn1Y],
    GangZoneInfo[idx][zSpawn1Z],
    GangZoneInfo[idx][zSpawn2X],
    GangZoneInfo[idx][zSpawn2Y],
    GangZoneInfo[idx][zSpawn2Z]);
    if(idx == 0)
    {
    file2 = fopen("/confic/gangzone.cfg", io_write);
    }
    else
    {
    file2 = fopen("/confic/gangzone.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    printf("gangzone.cfg succesfully updated");
    return 1;
    }[/pwn]

    Aber ich Verstehe nicht ganz wie ich die Datei Füllen muss für diese Fraktionen:

    La Cosa Nostra
    Yakuza
    Grove Street
    Rifa
    Verkaufe UCP,
    Bitte Kauft es, weitere Infos hier:
    easy-scripting.net/index.php?p…rketplaceEntry&entryID=24