Beiträge von Master147

    Guten Tag Community,


    ich habe ein Problem und zwar kann ich aus der Datenbank aus Geld an die Spieler vergeben aber leider wenn sie was kaufen und reloggen wird ihr geld nicht gespeichert


    codes:

    Spoiler anzeigen
    savePlayer(playerid)
    {
    if(SpielerInfo[playerid][pEingeloggt]==0)return 1;
    //Speichern level,money
    new query[128];
    format(query,sizeof(query),"UPDATE user SET level='%i',money='%i',Admin='%i' WHERE id='%i'",SpielerInfo[playerid][pLevel],GetPlayerMoney(playerid),SpielerInfo[playerid][pAdmin],SpielerInfo[playerid][ID]);
    mysql_function_query(dbhandle,query,false,"","");
    return 1;
    }

    Guten tag Community,


    ich kriege immer eine fehlermeldung wenn ich microsoft office 2010 löschen möchte


    fehlermeldung 1407 da steht ich muss die alten Änderungen rückgängig machen und wenn ich auf ja klicke kommt das die ganze zeit


    kann mir einer helfen ?


    MfG


    Master

    Ja wir haben Alice bin momentan auch am überlegen ob ich nach Unity Media wechsele weil fast meine ganze umgebung meint das Unity Media in dieser Gegend gute Leitungen haben


    Hier ein Test mit dem Handy von meinem Bruder


    Guten Tag Community,


    seit 3 Monaten habe ich probleme mit meinem Internet. Damals konnten mindestens 3-4 Leute ins WLAN rein aber seit 3 Monaten ist das so das wenn mein Bruder schon mit seinem handy rein geht das ich ein ping von 500-1500 kriege. Mein Onkel hat den gleichen Vertrag und er wohnt in einer Gegend wo fast kein Netz ist und er hat irgendwie ne bessere Leitung als ich :/



    Ich hoffe jemand kann mir helfen


    MfG


    Master


    Das hat er doch schon gemacht sogar noch kürzer wieso soll er das so machen wenns einfacher geht?

    Ehmmm...


    hier ein teil meiner codes dann siehst du das es funkt.


    if(!isPlayerAnAdmin(playerid,3))return SendClientMessage(playerid,WHITE,"Du bist kein Admin");


    Das funktioniert z.B ohne Fehler

    Versuchs mal so:


    Spoiler anzeigen
    stock ShowPlayerFractionCommands(playerid)
    {
    if(!IsPlayerInFrac(playerid,0))return SendClientMessage(playerid,0x00C3FFFF,"Du bist kein Fraktionsmitglied.");
    if(IsPlayerInFrac(playerid,1))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** LSPD *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /zivil /rbball /ticket /sperre");
    SendClientMessage(playerid,0xF5FF00FF,"*** LSPD *** /gov)ernment /pd1 /pd2 /pdd ( Innen Tore )/sfpdtor /orten /tazer /frisk /take /schild /rb /rbb /sperrewegall");
    SendClientMessage(playerid,0xF5FF00FF,"*** LSPD *** /alcator /alcatür /alcalift /alcaptor /zollcontrol"#COL_RED" /ucl /ucldel /deskkick");
    SendClientMessage(playerid,0xF5FF00FF,"*** LSPD *** /nagelband (/nb) /nagelbandweg (/nbw) /nagelbandwegall (/nbwa) /spionagetool (FBI)");
    SendClientMessage(playerid,0xF5FF00FF,"*** LSPD *** /FRC ( Carrespawn (Leader) ) /armylift1 /armylift2");
    }
    else if(IsPlayerInFrac(playerid,2))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** FBI *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /zivil /rbball /ticket /sperre");
    SendClientMessage(playerid,0xF5FF00FF,"*** FBI *** /gov)ernment /pd1 /pd2 /pdd ( Innen Tore )/sfpdtor /orten /tazer /frisk /take /schild /rb /rbb /sperrewegall");
    SendClientMessage(playerid,0xF5FF00FF,"*** FBI *** /alcator /alcatür /alcalift /alcaptor /zollcontrol"#COL_RED" /ucl /ucldel /deskkick");
    SendClientMessage(playerid,0xF5FF00FF,"*** FBI *** /nagelband (/nb) /nagelbandweg (/nbw) /nagelbandwegall (/nbwa) /spionagetool (FBI)");
    SendClientMessage(playerid,0xF5FF00FF,"*** FBI *** /FRC ( Carrespawn (Leader) ) /armylift1 /armylift2");
    }
    else if(IsPlayerInFrac(playerid,3))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** ARMY *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /zivil /rbball /ticket /sperre");
    SendClientMessage(playerid,0xF5FF00FF,"*** ARMY *** /gov)ernment /pd1 /pd2 /pdd ( Innen Tore )/sfpdtor /orten /tazer /frisk /take /schild /rb /rbb /sperrewegall");
    SendClientMessage(playerid,0xF5FF00FF,"*** ARMY *** /alcator /alcatür /alcalift /alcaptor /zollcontrol"#COL_RED" /ucl /ucldel /deskkick");
    SendClientMessage(playerid,0xF5FF00FF,"*** ARMY *** /nagelband (/nb) /nagelbandweg (/nbw) /nagelbandwegall (/nbwa) /spionagetool (FBI)");
    SendClientMessage(playerid,0xF5FF00FF,"*** ARMY *** /FRC ( Carrespawn (Leader) ) /armylift1 /armylift2");
    }
    else if(IsPlayerInFrac(playerid,4))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** MEDIC *** /untersuchen, /revive, /duty, /heal, /frc, /accept medic");
    }
    else if(IsPlayerInFrac(playerid,5))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** LCN *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** LCN *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** LCN *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,6))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** YAKUZA *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** YAKUZA *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** YAKUZA *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,7))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** PRÄSI *** /settax /givetax /penter /pexit /dachluke /präsibüro /ptor /FRC");
    }
    else if(IsPlayerInFrac(playerid,8))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** HITMAN *** /portable /henter /hfind /hexit /bestellen /tie /untie /kidnap /gangjail /gangunjail /mundtape");
    SendClientMessage(playerid,0xF5FF00FF,"*** HITMAN *** /durchsuchen /augenbinde /frakkammermats /frakkammer /FRC /sad");
    }
    else if(IsPlayerInFrac(playerid,9))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** NEWS *** /paper /papers /live /news [text] /ntor /FRC");
    }
    else if(IsPlayerInFrac(playerid,10))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** TAXI *** /fare [Fahrpreis] /FRC");
    }
    else if(IsPlayerInFrac(playerid,11))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** FAHRLEHRER *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise /FRC");
    }
    else if(IsPlayerInFrac(playerid,12))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** CRIPS *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** CRIPS *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** CRIPS *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,13))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** GSTREET *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** GSTREET *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** GSTREET *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,14))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** BALLAS *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** BALLAS *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** BALLAS *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,15))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** BIKER *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** BIKER *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** BIKER *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,16))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** VAGOS *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** VAGOS *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** VAGOS *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,17))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** ATZTECAS *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** ATZTECAS *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** ATZTECAS *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,18))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** RIFA *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** RIFA *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** RIFA *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,19))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** ADAC *** /f, /duty, /sellrepair, /accept adac");
    SendClientMessage(playerid,0xF5FF00FF,"*** ADAC *** /sellrefill, /sellwechsel, /FRC");

    }
    else if(IsPlayerInFrac(playerid,20))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** TERROR *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** TERROR *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** TERROR *** /augenbinde /frakkammermats /frakkammer /FRC");
    SendClientMessage(playerid,0xF5FF00FF,"*** TERROR *** /klauc4, /kleidungklauen, /kleidungtragen, /nackenschlag");
    SendClientMessage(playerid,0xF5FF00FF,"*** TERROR *** /autobombe");
    }
    else if(IsPlayerInFrac(playerid,21))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** - *** Keine Frakbefehle");
    }
    else if(IsPlayerInFrac(playerid,22))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** - *** Keine Frakbefehle");
    }
    else if(IsPlayerInFrac(playerid,23))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** BRIGADA *** /f, /mundtape, /lenter, /lexit, /ctf, /lcntor");
    SendClientMessage(playerid,0xF5FF00FF,"*** BRIGADA *** /kidnap, /gangjail, /gangunjail, /mundtape, /tie, /untie, /durchsuchen");
    SendClientMessage(playerid,0xF5FF00FF,"*** BRIGADA *** /augenbinde /frakkammermats /frakkammer /FRC");
    }
    else if(IsPlayerInFrac(playerid,24))
    {
    SendClientMessage(playerid,0xF5FF00FF,"*** OAMT *** /oamtls /oticket /m /tazer /blitzer /findcar /parkkralle /FRC");
    }
    return 1;
    }

    stock SaveHaus(haus)
    {
    if(Hauser[haus][pCreated] == 1)
    {
    new query1[500];
    format(query1,sizeof(query1),"UPDATE `haus` SET `Created` = '%d',`Besitzer` = '%s',`Owned` = '%d',`EnterX` = '%f',`EnterY` = '%f',`EnterZ` = '%f',`ExitX` = '%f',`ExitY` = '%f',`ExitZ` = '%f',",Hauser[haus][pCreated],Hauser[haus][pOwner],Hauser[haus][pOwned],Hauser[haus][pEnterX],Hauser[haus][pEnterY],Hauser[haus][pEnterZ],Hauser[haus][pExitX],Hauser[haus][pExitY],Hauser[haus][pExitZ]);
    new query2[500];
    format(query2,sizeof(query2),"`Preis` = '%d',`Level` = '%d',`Int` = '%d',`Mieter` = '%d',`Miete` = '%d',`Rentable` = '%d',`lock` = '%d' WHERE `id` = '%d'",Hauser[haus][pPrice],Hauser[haus][pLevel],Hauser[haus][pInt],Hauser[haus][pMieter],Hauser[haus][pMiete],Hauser[haus][pRentable],Hauser[haus][plock],haus);
    strcat(query1,query2);
    mysql_query(query1);
    printf("Es wurden %d Häuser gespeichert",haus);
    }
    return 1;
    }