Beiträge von Mr.X

    Hallo, :)


    Ich suche ein Standart GF auf Deutsch, was noch nicht bearbeitet wurde.


    GRund: Ich will ein wenig meine Scripting-Eigenschaften verbessern und nicht schon ein halb fertiges Script verwenden.


    Wäre nett, wenn sich da was findet. :)

    Guten Tag,


    ich hoffe mal, dass ich nicht in der falschen Kategorie bin.
    Dennoch nun zum Thema.


    Ich stelle mir oft die Frage, wie sich die leute alle ein WBB3 Forum leisten können?
    Denn 50€ sind ja echt happig und das sponsoren von den vollversionen ist ja Verboten.


    Denn ich bin am überlegen, mir ein WBB3 Forum anzuschaffen, dennoch 50 Euro sind echt happig.


    Woher habt ihr denn euer WBB3 Forum? (falls Vorhanden)

    Ich bekomme beim Compilen 2 Errors:


    Zeile (2176) : Unbekannte Variable : "playerid"
    Zeile (2178) : Unbekannte Variable : "playerid"


    Und so sieht es zurzeit aus:


    public fragetimer()
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    TextDrawShowForPlayer(playerid,Frage12);
    }
    return 1;
    }

    //----------------------------------------------------Leitplanken SF Tunnel------------------------------------------------------------------------
    CreateDynamicObject(979,-872.39648438,-1113.83593750,98.18531799,0.00000000,0.00000000,75.99792480); //object(sub_roadleft) (1)
    CreateDynamicObject(979,-874.46356201,-1122.98083496,98.48090363,0.00000000,3.25000000,78.74792480); //object(sub_roadleft) (2)
    CreateDynamicObject(979,-876.05603027,-1132.17333984,99.51624298,0.00000000,9.74645996,81.74450684); //object(sub_roadleft) (3)
    CreateDynamicObject(979,-1235.29089355,-763.48016357,63.74383163,0.00000000,359.75000000,220.00000000); //object(sub_roadleft) (4)
    CreateDynamicObject(979,-1228.33789062,-757.22167969,63.28443146,0.00000000,354.24316406,224.49462891); //object(sub_roadleft) (5)
    CreateDynamicObject(979,-1243.02539062,-768.63964844,64.31890106,0.00000000,353.49609375,207.24061584); //object(sub_roadleft) (6)
    CreateDynamicObject(979,-877.40917969,-1141.32324219,101.01793671,0.00000000,8.73962402,81.49108887); //object(sub_roadleft) (7)
    CreateDynamicObject(979,-878.73687744,-1150.46228027,102.34223175,0.00000000,7.48962402,81.49108887); //object(sub_roadleft) (7)
    CreateDynamicObject(979,-870.28741455,-1104.77661133,97.66330719,0.00000000,6.75000000,77.74792480); //object(sub_roadleft) (1)
    CreateDynamicObject(979,-1221.73718262,-750.72552490,62.14554977,0.00000000,351.74316406,224.49462891); //object(sub_roadleft) (5)
    CreateDynamicObject(979,-1215.51464844,-744.00164795,60.83404922,0.00000000,351.73828125,229.98913574); //object(sub_roadleft) (5)
    CreateDynamicObject(979,-1251.26916504,-772.87927246,65.36799622,0.00000000,353.49609375,207.24061584); //object(sub_roadleft) (6)
    CarInit();
    dini_Remove("tickets/fragen.ini");
    dini_Remove("tickets/report.ini");
    dini_Remove("tickets/support.ini");
    dini_Create("tickets/fragen.ini");
    dini_Create("tickets/report.ini");
    dini_Create("tickets/support.ini");
    format(string, sizeof string, "Allgemeine Fragen: %d",fragen);
    Frage12 = TextDrawCreate(610.000000,130.000000,string);
    format(string, sizeof string, "Regelverstoss: %d",reportss);
    Report12 = TextDrawCreate(610.000000,140.000000,string);
    format(string, sizeof string, "Supports: %d",supportss);
    Support12 = TextDrawCreate(610.000000,150.000000,string);
    TextDrawAlignment(Frage12,3);
    TextDrawAlignment(Report12,3);
    TextDrawAlignment(Support12,3);
    TextDrawBackgroundColor(Frage12,0x000000ff);
    TextDrawBackgroundColor(Report12,0x000000ff);
    TextDrawBackgroundColor(Support12,0x000000ff);
    TextDrawFont(Frage12,1);
    TextDrawLetterSize(Frage12,0.299999,0.899999);
    TextDrawFont(Report12,1);
    TextDrawLetterSize(Report12,0.299999,0.899999);
    TextDrawFont(Support12,1);
    TextDrawLetterSize(Support12,0.299999,0.899999);
    TextDrawColor(Frage12,0xffffffff);
    TextDrawColor(Report12,0xffffffff);
    TextDrawColor(Support12,0xffffffff);
    TextDrawSetOutline(Frage12,1);
    TextDrawSetOutline(Report12,1);
    TextDrawSetOutline(Support12,1);




    Es kommen keine Errors beim Compilen.


    dennoch werden die Textdraws nicht angezeigt, weiß jemand eine Hilfe?

    if(dialogid == 100)
    {
    if(response)
    {
    new idx;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(inputtext);
    while ((idx < length) && (inputtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = inputtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, GRAD2, "FEHLER !");
    return 1;
    }
    /*format(string, sizeof(string), " | %s hat ein Ticket hinterlassen: [%s] |", sendername, (result));*/
    new string2[256];
    format(string2, sizeof(string2), "Report=%s\nText=%s", sendername, (result));
    ticketsys(string2);
    reportss += 1;
    new string3[256];
    format(string3, sizeof string3, "Regelverstoss: %d",reportss);
    TextDrawSetString(Report12,string3);
    SendClientMessage(playerid, GRAD2, "Deine Cheater/Regelverstoß Meldung wurde eingeschickt.");
    SendClientMessage(playerid, GRAD2, "Bitte warte und schreibe keine 100 Reports.");
    }
    else
    {
    SendClientMessage(playerid, GRAD2, "Report System Verlassen");
    }
    return 1;
    }



    //Edit: Keiner eine Lösung?

    Danke für deine ANtwort. :)


    if(dialogid == 100)
    {
    if(response)
    {
    new idx;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(inputtext);
    while ((idx < length) && (inputtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = inputtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, GRAD2, "FEHLER !");
    return 1;
    }
    /*format(string, sizeof(string), " | %s hat ein Ticket hinterlassen: [%s] |", sendername, (result));
    ABroadCast(GRAD2, string);*/
    format(string2, sizeof(string2), "Report=%s\nText=%s", sendername, (result));
    ticketsys(string2);
    reportss += 1;
    new string3[256];
    format(string3, sizeof string3, "Regelverstoss: %d",reportss);
    TextDrawSetString(Report12,string3);
    SendClientMessage(playerid, GRAD2, "Deine Cheater/Regelverstoß Meldung wurde eingeschickt.");
    SendClientMessage(playerid, GRAD2, "Bitte warte und schreibe keine 100 Reports.");
    }
    else
    {
    SendClientMessage(playerid, GRAD2, "Report System Verlassen");
    }

    Guten Abend,


    Ich bekomme immer diese Errors:


    C:\Users\kalle\Downloads\pawno\include\streamer.inc(289) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
    C:\Users\kalle\Downloads\Magical Reallife - Script 0.5.2b\Magical Reallife - Script 0.5.2b\gamemodes\GermanRL.pwn(4014) : error 017: undefined symbol "string2"
    C:\Users\kalle\Downloads\Magical Reallife - Script 0.5.2b\Magical Reallife - Script 0.5.2b\gamemodes\GermanRL.pwn(4014) : error 017: undefined symbol "string2"
    C:\Users\kalle\Downloads\Magical Reallife - Script 0.5.2b\Magical Reallife - Script 0.5.2b\gamemodes\GermanRL.pwn(4014) : error 029: invalid expression, assumed zero
    C:\Users\kalle\Downloads\Magical Reallife - Script 0.5.2b\Magical Reallife - Script 0.5.2b\gamemodes\GermanRL.pwn(4014) : fatal error 107: too many error messages on one line
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.



    Hier die Zeile 4014:


    format(string2, sizeof(string2), "Report=%s\nText=%s", sendername, (result));


    Ich bekomme es einfach nicht hin.


    Wäre um Hilfe sehr sehr sehr dankbar.