Beiträge von tHug

    LOL ich finde das i.wie nicht :D Hast du MSN oder ICQ? Dan schick ich dir das ma ich find es ganicht^^
    Laaangweilig@hotmail.de
    394832489


    Ah hier?



    OnPlayerLogin(playerid,tmppass);
    }
    return 1;
    }

    //-----------Register---------------
    if (strcmp(cmd, "/register", true) ==0 )
    {
    if(IsPlayerConnected(playerid))
    {
    if(gPlayerLogged[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_WHITE, "SERVER: You are already logged in.");
    return 1;
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "users/%s.ini", sendername);
    new File: hFile = fopen(string, io_read);
    if (hFile)
    {
    SendClientMessage(playerid, COLOR_YELLOW, "That Username is already taken, please choose a different one.");
    fclose(hFile);
    return 1;
    }
    new tmppass[64];
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /register [password]");
    return 1;
    }
    strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
    //Encrypt(tmppass);
    OnPlayerRegister(playerid,tmppass);
    }
    return 1;
    }

    Naja da steht das er error in zeile 12025 ist und da steht nur Return^



    /*public OnPlayerLogin(playerid,password[]) // by Jonnie v1.0
    {
    MySQLCheckConnection();
    new tmp2[256];
    new string2[64];
    new playername2[MAX_PLAYER_NAME];
    new playernamesplit[3][MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    split(playername2, playernamesplit, '_');
    MySQLFetchAcctSingle(PlayerInfo[playerid][pSQLID], "Password", PlayerInfo[playerid][pKey]);
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    {
    new Data[1024];
    new Field[64];
    new rcnt = 1;
    MySQLFetchAcctRecord(PlayerInfo[playerid][pSQLID], Data);
    samp_mysql_strtok(Field, "|", Data);
    while (samp_mysql_strtok(Field, "|", "")==1)
    {
    // The rcnt values here represent the order of the columns in the characters table, so don't mess with them
    // If you add a column to the table, just add a new line with a +1 rcnt to the block below
    // Start it at 3 to skip the first few records we don't need (id, player name, password)
    if (rcnt == 3) PlayerInfo[playerid][pLevel] = strval(Field);
    if (rcnt == 4) PlayerInfo[playerid][pAdmin] = strval(Field);
    if (rcnt == 5) PlayerInfo[playerid][pDonateRank] = strval(Field);
    if (rcnt == 6) PlayerInfo[playerid][gPupgrade] = strval(Field);
    if (rcnt == 7) PlayerInfo[playerid][pConnectTime] = strval(Field);
    if (rcnt == 8) PlayerInfo[playerid][pReg] = strval(Field);
    if (rcnt == 9) PlayerInfo[playerid][pSex] = strval(Field);
    if (rcnt == 10) PlayerInfo[playerid][pAge] = strval(Field);
    if (rcnt == 11) PlayerInfo[playerid][pOrigin] = strval(Field);
    if (rcnt == 12) PlayerInfo[playerid][pCK] = strval(Field);
    if (rcnt == 13) PlayerInfo[playerid][pMuted] = strval(Field);
    if (rcnt == 14) PlayerInfo[playerid][pExp] = strval(Field);
    if (rcnt == 15) PlayerInfo[playerid][pCash] = strval(Field);
    if (rcnt == 16) PlayerInfo[playerid][pAccount] = strval(Field);
    if (rcnt == 17) PlayerInfo[playerid][pCrimes] = strval(Field);
    if (rcnt == 18) PlayerInfo[playerid][pKills] = strval(Field);
    if (rcnt == 19) PlayerInfo[playerid][pDeaths] = strval(Field);
    if (rcnt == 20) PlayerInfo[playerid][pArrested] = strval(Field);
    if (rcnt == 21) PlayerInfo[playerid][pWantedDeaths] = strval(Field);
    if (rcnt == 22) PlayerInfo[playerid][pPhoneBook] = strval(Field);
    if (rcnt == 23) PlayerInfo[playerid][pLottoNr] = strval(Field);
    if (rcnt == 24) PlayerInfo[playerid][pFishes] = strval(Field);
    if (rcnt == 25) PlayerInfo[playerid][pBiggestFish] = strval(Field);
    if (rcnt == 26) PlayerInfo[playerid][pJob] = strval(Field);
    if (rcnt == 27) PlayerInfo[playerid][pPayCheck] = strval(Field);
    if (rcnt == 28) PlayerInfo[playerid][pHeadValue] = strval(Field);
    if (rcnt == 29) PlayerInfo[playerid][pJailed] = strval(Field);
    if (rcnt == 30) PlayerInfo[playerid][pJailTime] = strval(Field);
    if (rcnt == 31) PlayerInfo[playerid][pMats] = strval(Field);
    if (rcnt == 32) PlayerInfo[playerid][pDrugs] = strval(Field);
    if (rcnt == 33) PlayerInfo[playerid][pLeader] = strval(Field);
    if (rcnt == 34) PlayerInfo[playerid][pMember] = strval(Field);
    if (rcnt == 35) PlayerInfo[playerid][pFMember] = strval(Field);
    if (rcnt == 36) PlayerInfo[playerid][pRank] = strval(Field);
    if (rcnt == 37) PlayerInfo[playerid][pChar] = strval(Field);
    if (rcnt == 38) PlayerInfo[playerid][pContractTime] = strval(Field);
    if (rcnt == 39) PlayerInfo[playerid][pDetSkill] = strval(Field);
    if (rcnt == 40) PlayerInfo[playerid][pSexSkill] = strval(Field);
    if (rcnt == 41) PlayerInfo[playerid][pBoxSkill] = strval(Field);
    if (rcnt == 42) PlayerInfo[playerid][pLawSkill] = strval(Field);
    if (rcnt == 43) PlayerInfo[playerid][pMechSkill] = strval(Field);
    if (rcnt == 44) PlayerInfo[playerid][pJackSkill] = strval(Field);
    if (rcnt == 45) PlayerInfo[playerid][pCarSkill] = strval(Field);
    if (rcnt == 46) PlayerInfo[playerid][pNewsSkill] = strval(Field);
    if (rcnt == 47) PlayerInfo[playerid][pDrugsSkill] = strval(Field);
    if (rcnt == 48) PlayerInfo[playerid][pCookSkill] = strval(Field);
    if (rcnt == 49) PlayerInfo[playerid][pFishSkill] = strval(Field);


    Mehr hat nit darf nur 10.000 Buchstaben^^ wen da nix drin ist sag es dan edeiter ich das weg und mache den rest

    Also ich habe ein Error : C:\Dokumente und Einstellungen\PsP\Desktop\Ajoo.pwn(12025) : error 010: invalid function or declaration
    Und ein Warning der mir aber eher Unwichtig ist^ : C:\Dokumente und Einstellungen\PsP\Desktop\Ajoo.pwn(12024) : warning 209: function "OnPlayerLogin" should return a value
    Zeige euch direkt mal n paar zeilen davor und dahinter



    SendClientMessage(playerid, COLOR_YELLOW, tmp2);
    }*/
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[i][pMaskuse] == 1)
    {
    ShowPlayerNameTagForPlayer(playerid, i, 0);
    }
    }
    }
    }
    return 1; // Das ist der Error
    }


    /*public OnPlayerLogin(playerid,password[]) // by Jonnie v1.0
    {
    MySQLCheckConnection();
    new tmp2[256];
    new string2[64];
    new playername2[MAX_PLAYER_NAME];
    new playernamesplit[3][MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    split(playername2, playernamesplit, '_');
    MySQLFetchAcctSingle(PlayerInfo[playerid][pSQLID], "Password", PlayerInfo[playerid][pKey]);
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )


    Hoffe mir kann Jemand helfen

    Hey habs jz doch geschafft mit MidoStream..
    Nur nicht ganz er gibt mir weder Errors noch Warnings aber er Lädt einfach die Objekte nicht aber alle sind drinne...


    vll kan sich das ma Profi anschauen?
    Meldet euch in ICQ oder MSN.. Mag nicht das es jeder hat :P


    394832489
    Laaangweilig@hotmail.de


    Hoffe mir kann einer schnell hilfe geben...
    Danke im vorraus
    gruß

    Hey da bei mir Einsteins object streamer nix bringt da ich nur Crashes bekomme wollte ich mal den von MidoStream nehmen
    Also nun check ich nicht wie ich das machen soll......
    Ich will die als FilterScript laden die Objekte..


    Kan mir jmd das hochladen das Fertige so das ich nur meine Objekte rein einfügen muss ?

    Hey hab mir bend Einsteins ObjectStreamer genommen schön alles als FilterScript gemacht
    Nun wen man sich einloggt bekommt man ein GameCrash vll. könnt ihr ma gucken was da crasht?


    (Laden weil ihr ne Map wollt bringt nix is ne Copy+Paste map ausem Showroom) :D


    Hoffe mir kann da jmd um diese Uhrzeit helfen
    € Jetzt habe ich gemerkt Sobald man in die Nähe von diesen Objecten kommt dan Crasht es erst aber ohne den Streamer und weniger Objcte 1a

    Hey ist es Möglich den ObjectStreamer als Filterscript zu machen und zu laden?
    Also wen ja ich habe ja kein Gefunden und es kann hier einer machen/ oder hat einen?
    Wäre nett.. (Fragt nicht wieso ich das net ins GM tue :P)
    Danke im Vorraus
    Gruß tHug