Beiträge von EliteBread

    dann kommen diese Errors


    (797) : warning 208: function with tag result used before definition, forcing reparse
    (745) : error 017: undefined symbol "stringname"
    (745) : error 017: undefined symbol "stringname"
    (746) : error 017: undefined symbol "String"
    (929) : error 017: undefined symbol "stringname"
    (929) : error 017: undefined symbol "stringname"
    (930) : error 017: undefined symbol "String"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.

    (796) : warning 208: function with tag result used before definition, forcing reparse
    (745) : error 076: syntax error in the expression, or invalid function call
    (928) : error 076: syntax error in the expression, or invalid function call
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

    Hallo User,
    ich komme egen wie nicht mit den klammern klar
    weil ich dies eingefügt habe und das mich egen wie iritiert


    public OnPlayerConnect(playerid)
    {
    {
    if(pSpeedoOn[playerid] == 0)
    {
    pSpeedo[playerid][0] = TextDrawCreate(539.000000, 371.000000, "Carname");
    TextDrawBackgroundColor(pSpeedo[playerid][0], 255);
    TextDrawFont(pSpeedo[playerid][0], 3);
    TextDrawLetterSize(pSpeedo[playerid][0], 0.500000, 1.000000);
    TextDrawColor(pSpeedo[playerid][0], 16775935);
    TextDrawSetOutline(pSpeedo[playerid][0], 0);
    TextDrawSetProportional(pSpeedo[playerid][0], 1);
    TextDrawSetShadow(pSpeedo[playerid][0], 1);

    pSpeedo[playerid][1] = TextDrawCreate(528.000000, 385.000000, "Km/H:");
    TextDrawBackgroundColor(pSpeedo[playerid][1], 255);
    TextDrawFont(pSpeedo[playerid][1], 1);
    TextDrawLetterSize(pSpeedo[playerid][1], 0.200000, 1.500000);
    TextDrawColor(pSpeedo[playerid][1], 16775935);
    TextDrawSetOutline(pSpeedo[playerid][1], 0);
    TextDrawSetProportional(pSpeedo[playerid][1], 1);
    TextDrawSetShadow(pSpeedo[playerid][1], 1);
    TextDrawUseBox(pSpeedo[playerid][1], 1);
    TextDrawBoxColor(pSpeedo[playerid][1], 2021161215);
    TextDrawTextSize(pSpeedo[playerid][1], 623.000000, 95.000000);

    pSpeedo[playerid][2] = TextDrawCreate(528.000000, 402.000000, "Tank:");
    TextDrawBackgroundColor(pSpeedo[playerid][2], 255);
    TextDrawFont(pSpeedo[playerid][2], 1);
    TextDrawLetterSize(pSpeedo[playerid][2], 0.200000, 1.500000);
    TextDrawColor(pSpeedo[playerid][2], 16775935);
    TextDrawSetOutline(pSpeedo[playerid][2], 0);
    TextDrawSetProportional(pSpeedo[playerid][2], 1);
    TextDrawSetShadow(pSpeedo[playerid][2], 1);
    TextDrawUseBox(pSpeedo[playerid][2], 1);
    TextDrawBoxColor(pSpeedo[playerid][2], 2021161215);
    TextDrawTextSize(pSpeedo[playerid][2], 623.000000, 95.000000);


    pSpeedo[playerid][3] = TextDrawCreate(528.000000, 419.000000, "Zustand:");
    TextDrawBackgroundColor(pSpeedo[playerid][3], 255);
    TextDrawFont(pSpeedo[playerid][3], 1);
    TextDrawLetterSize(pSpeedo[playerid][3], 0.200000, 1.500000);
    TextDrawColor(pSpeedo[playerid][3], 16775935);
    TextDrawSetOutline(pSpeedo[playerid][3], 0);
    TextDrawSetProportional(pSpeedo[playerid][3], 1);
    TextDrawSetShadow(pSpeedo[playerid][3], 1);
    TextDrawUseBox(pSpeedo[playerid][3], 1);
    TextDrawBoxColor(pSpeedo[playerid][3], 2021161215);
    TextDrawTextSize(pSpeedo[playerid][3], 623.000000, 95.000000);
    pSpeedoOn[playerid] = 1;
    }
    SendAdminMessage(Grün,"%s hat den Server betreten.",PlayerName);
    }
    TextDrawShowForPlayer(playerid,RealClock);
    return 1;
    }



    public OnPlayerDisconnect(playerid, reason)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && Eingeloggt[i] == 1)
    {
    Update(playerid);
    Eingeloggt[playerid] = 0;
    }
    }
    TextDrawHideForPlayer(playerid,RealClock);
    return 1;
    }
    SendAdminMessage(Rot,"%s hat den Server Verlassen.",PlayerName);
    return 1;
    }

    new Text:pSpeedo[MAX_PLAYERS][4];
    new pSpeedoOn[MAX_PLAYERS];
    new pSpeedoT[MAX_PLAYERS];


    das gibst da :(


    welches muss ich entfernen lassen

    Weiß nicht ob das richtig ist



    public OnPlayerText(playerid, text[])
    {
    new textv2[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(textv2, sizeof (textv2), " (&d): %s", playerid, text);
    SendPlayerMessageToAll(playerid, textv2);
    return 1;
    }

    also so würde ich das machen weil durch den namen noch mal haste den da 2mal stehen

    das ist stock sendme2chat
    aber ich habe alle stock´s da deswegen
    ich schätze der weiß nicht was er mit Sendme2Chat anzufangen hat weil im dcmd ja nicht drin steht benutze Sendme2Chat