Beiträge von TheAxe

    C:\Games\GTAsa-KaOs\gamemodes\GFF.pwn(14) : fatal error 100: cannot read from file: "utils"


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



    1 Error.


    hast du nen rl server? das ist ja für reallife


    edit: kannst mich ja im icq aufnehmen 255709090

    so....
    also die utils.inc hab ich im pawno eingefügt und im include ordner


    so hab utils geöffnet und


    #include <utils>
    eingefügt


    Ergebnis:
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\Pawno\Pawno-Script-Tool\include\utils.inc(1) : fatal error 100: cannot read from file: "utils"


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



    1 Error.


    Der Anfang meines GM's
    /*
    ==================================================================
    (C)opyright darf nicht entfernt werden!!!
    Copyright by - Cobaa - Psychosandman - Point ++ Projektleitung
    ==================================================================
    */
    #pragma dynamic 8192


    #include <a_samp>
    #include <core>
    #include <float>
    #include <time>
    #include <file>
    #include <utils>
    #include <morphinc>
    static gTeam[MAX_PLAYERS];

    Hallo,
    Da meine Pawno datein i.wie nicht mit einander funktionieren wollte ich fragen ob mir jemand ein guten script zusammen stellen kann b.z.w den Pawno ordner... ich will den godfather ggf v2.0.0 benutzen da er für mich am einfachsten ist weil da die meisten sachen zusammengefügt sind.. so mein prob ist das


    Der Script
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\gamemode\GGF.pwn(14) : fatal error 100: cannot read from file: "utils"


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



    1 Error.


    so der utils fehler
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\Pawno\Pawno-Script-Tool\include\utils.inc(10) : error 017: undefined symbol "INVALID_PLAYER_ID"
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\Pawno\Pawno-Script-Tool\include\utils.inc(91) : warning 203: symbol is never used: "IsNumeric"
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\Pawno\Pawno-Script-Tool\include\utils.inc(91) : warning 203: symbol is never used: "ReturnUser"
    C:\Games\GTAsa-KaOs\rf\German Godfather-GGF v.2.00\Pawno\Pawno-Script-Tool\include\utils.inc(91) : error 013: no entry point (no public functions)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    soll ich mal die utils.inc posten?

    weiß nicht


    #include <a_samp>
    #include <core>
    #include <float>
    #include <time>
    #include <file>
    #include <utils>
    #include <morphinc>


    IsNumeric(const string[])
    {
    for (new i = 0, j = strlen(string); i < j; i++)
    {
    if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
    }


    ReturnUser(text[], playerid = INVALID_PLAYER_ID)
    {
    new pos = 0;
    while (text[pos] < 0x21) // Strip out leading spaces
    {
    if (text[pos] == 0) return INVALID_PLAYER_ID; // No passed text
    pos++;
    }
    new userid = INVALID_PLAYER_ID;
    if (IsNumeric(text[pos])) // Check whole passed string
    {
    // If they have a numeric name you have a problem (although names are checked on id failure)
    userid = strval(text[pos]);
    if (userid >=0 && userid < MAX_PLAYERS)
    {
    if(!IsPlayerConnected(userid))
    {
    /*if (playerid != INVALID_PLAYER_ID)
    {
    SendClientMessage(playerid, 0xFF0000AA, "User not connected");
    }*/
    userid = INVALID_PLAYER_ID;
    }
    else
    {
    return userid; // A player was found
    }
    }
    /*else
    {
    if (playerid != INVALID_PLAYER_ID)
    {
    SendClientMessage(playerid, 0xFF0000AA, "Invalid user ID");
    }
    userid = INVALID_PLAYER_ID;
    }
    return userid;*/
    // Removed for fallthrough code
    }
    // They entered [part of] a name or the id search failed (check names just incase)
    new len = strlen(text[pos]);
    new count = 0;
    new name[MAX_PLAYER_NAME];
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
    if (IsPlayerConnected(i))
    {
    GetPlayerName(i, name, sizeof (name));
    if (strcmp(name, text[pos], true, len) == 0) // Check segment of name
    {
    if (len == strlen(name)) // Exact match
    {
    return i; // Return the exact player on an exact match
    // Otherwise if there are two players:
    // Me and MeYou any time you entered Me it would find both
    // And never be able to return just Me's id
    }
    else // Partial match
    {
    count++;
    userid = i;
    }
    }
    }
    }
    if (count != 1)
    {
    if (playerid != INVALID_PLAYER_ID)
    {
    if (count)
    {
    SendClientMessage(playerid, 0xFF0000AA, "Multiple users found, please narrow earch");
    }
    else
    {
    SendClientMessage(playerid, 0xFF0000AA, "No matching user found");
    }
    }
    userid = INVALID_PLAYER_ID;
    }
    return userid; // INVALID_USER_ID for bad return
    }


    -.- kannste net lesen? guck mal über dein post was ich geschrieben habe


    e:

    An der utils Include liegts nicht, die ist fehlerfrei programmiert.

    du meinst die is inordnung aber warum kann pawno die datei net ablesen oder so die datei is im include ordner

    also die utils.inc ind pawno->include reinziehen so habe ich das verstanden... schön und gut aber die is schon da drinne


    e:wo rein ziehen in pawno? also ins programm? oder wie

    woran dann?
    wenn ich mein gm auf mache un halt f5 drück kommt C:\Games\GTAsa-KaOs\gamemodes\GFF.pwn(14) : fatal error 100: cannot read from file: "utils"

    Hallo,
    Ich lesse als tausende von threads von utils.inc und es hilft mir nicht weiter ich bekomme als fatal error 100:


    ich zeige euch mal meine utils.inc
    IsNumeric(const string[])
    {
    for (new i = 0, j = strlen(string); i < j; i++)
    {
    if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
    }


    ReturnUser(text[], playerid = INVALID_PLAYER_ID)
    {
    new pos = 0;
    while (text[pos] < 0x21) // Strip out leading spaces
    {
    if (text[pos] == 0) return INVALID_PLAYER_ID; // No passed text
    pos++;
    }
    new userid = INVALID_PLAYER_ID;
    if (IsNumeric(text[pos])) // Check whole passed string
    {
    // If they have a numeric name you have a problem (although names are checked on id failure)
    userid = strval(text[pos]);
    if (userid >=0 && userid < MAX_PLAYERS)
    {
    if(!IsPlayerConnected(userid))
    {
    /*if (playerid != INVALID_PLAYER_ID)
    {
    SendClientMessage(playerid, 0xFF0000AA, "User not connected");
    }*/
    userid = INVALID_PLAYER_ID;
    }
    else
    {
    return userid; // A player was found
    }
    }
    /*else
    {
    if (playerid != INVALID_PLAYER_ID)
    {
    SendClientMessage(playerid, 0xFF0000AA, "Invalid user ID");
    }
    userid = INVALID_PLAYER_ID;
    }
    return userid;*/
    // Removed for fallthrough code
    }
    // They entered [part of] a name or the id search failed (check names just incase)
    new len = strlen(text[pos]);
    new count = 0;
    new name[MAX_PLAYER_NAME];
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
    if (IsPlayerConnected(i))
    {
    GetPlayerName(i, name, sizeof (name));
    if (strcmp(name, text[pos], true, len) == 0) // Check segment of name
    {
    if (len == strlen(name)) // Exact match
    {
    return i; // Return the exact player on an exact match
    // Otherwise if there are two players:
    // Me and MeYou any time you entered Me it would find both
    // And never be able to return just Me's id
    }
    else // Partial match
    {
    count++;
    userid = i;
    }
    }
    }
    }
    if (count != 1)
    {
    if (playerid != INVALID_PLAYER_ID)
    {
    if (count)
    {
    SendClientMessage(playerid, 0xFF0000AA, "Multiple users found, please narrow earch");
    }
    else
    {
    SendClientMessage(playerid, 0xFF0000AA, "No matching user found");
    }
    }
    userid = INVALID_PLAYER_ID;
    }
    return userid; // INVALID_USER_ID for bad return
    }

    und dann? AddStaticVehicle(522,1528.9510,-660.5137,94.3127,90.6266,3,7); // ?? soll ich mal mein gm hochladen dann kannste mal gucken

    Hallo,
    Ich habe mir schon viele threads angeguckt wie man ein autospawnd... ich werde nicht schlau daraus... also ich gehe auf meinen server gut.... hole mir ne nrg /veh 522 3 6 jaja.... stelle mich an den ort wo ich die nrg haben will jo..... /save is klar.... gehe in meinen gta server o.0... öffne savedpostions ..... so da is mein auto nun kopiere ich es mit.... gehe in gamemods öffne GFF und füge es ein wo die anderen autos sind.... starte server neu...gehe zum ort....keine nrg -.-...
    was hab ich falsch gemacht?


    mfg Axe