Brauche Hilfe bei Errors/Warnings

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hai User,


    Brauche mal wieder Hilfe...

    ich versuche gerade. DIESES sys hie rein zu bekommen

    Nur leider hat mein script sowas bereits (also Alpha ;)

    und nun wollte ich es etwas besser machen habe Es GENAU so gemacht nur das kommt...


    Hier die einzelnen Zeilen....

    ERROR => (1499) : error 001: expected token: ";", but found "enum"


    ZEILEN =>

    ERROR => (2467) : error 001: expected token: "-identifier-", but found "-integer value-"

    ERROR => (2470) : error 010: invalid function or declaration


    ZEILEN =>


    Warning..


    (4244) : warning 213: tag mismatch

    (4245) : warning 213: tag mismatch

    (4246) : warning 213: tag mismatch

    (5766) : warning 213: tag mismatch

    (5766) : warning 213: tag mismatch

    (5767) : warning 213: tag mismatch

    (5767) : warning 213: tag mismatch

    (5768) : warning 213: tag mismatch

    (5768) : warning 213: tag mismatch

    31235) : warning 213: tag mismatch

    (31235) : warning 213: tag mismatch

    (31235) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31250) : warning 213: tag mismatch

    (31250) : warning 213: tag mismatch

    (31251) : warning 213: tag mismatch

    (31251) : warning 213: tag mismatch

    (31252) : warning 213: tag mismatch

    (31252) : warning 213: tag mismatch



    WER DAFÜR DIE ZEILEN BENÖTIGT EINFACH ANSCHREIBEN


    ich würde mich über schnell hilfe sehr freuen...


    LG Tim

  • Danke ein Error ist weg ;)


    Nun fehlt noch das...


    (2467) : error 001: expected token: "-identifier-", but found "-integer value-"

    2470) : error 010: invalid function or declaration

    (4244) : warning 213: tag mismatch

    (4245) : warning 213: tag mismatch

    (4246) : warning 213: tag mismatch

    (5766) : warning 213: tag mismatch

    (5766) : warning 213: tag mismatch

    (5767) : warning 213: tag mismatch

    (5767) : warning 213: tag mismatch

    (5768) : warning 213: tag mismatch

    (5768) : warning 213: tag mismatch

    31235) : warning 213: tag mismatch

    (31235) : warning 213: tag mismatch

    (31235) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31246) : warning 213: tag mismatch

    (31250) : warning 213: tag mismatch

    (31250) : warning 213: tag mismatch

    (31251) : warning 213: tag mismatch

    (31251) : warning 213: tag mismatch

    (31252) : warning 213: tag mismatch

    (31252) : warning 213: tag mismatch



    Kann mir keiner helfen?

  • Tag mismatch heißt, dass du etwas ohne Leertaste geschrieben hast z.B Bei CreateObject(blabla..); da muss da vor dem Create 4Leerzeichen sein^^ Das ist nicht schlimm soweit ich weiß, wenn ich mich da vertan habe, bitte korrigieren^^

  • Ja du hast dich vertan oO
    Das was du meinst ist Loose Indentation und auch das behebt man nicht mit Leerzeichen sondern der einfachheit halber mit der Tab-Taste.


    Tag Mismatch bedeutet die Parameter stimmen nicht mit denen überein die die Funktion erwartet hat


    @ Thread
    Du kannst den Code auch einfach aus dem Script hier rein kopieren musst ihn nicht Screenen

  • Danke erstmal moment



    Also
    Warning => (4244) : warning 213: tag mismatch
    (4245) : warning 213: tag mismatch
    (4246) : warning 213: tag mismatch


    PlayerInfo[playerid][pTz] = 0;
    pIstTot[playerid] = 0;
    TazerBereit[playerid] = 1;



    Warning =>


    (5766) : warning 213: tag mismatch
    (5766) : warning 213: tag mismatch
    (5767) : warning 213: tag mismatch
    (5767) : warning 213: tag mismatch
    (5768) : warning 213: tag mismatch
    (5768) : warning 213: tag mismatch


    Zeile =>

    PlayerInfo[playerid][pTz] = pZ;
    M_OnPlayerDeath(playerid,killerid,reason);
    new name[MAX_PLAYER_NAME];




    Warning => Der rest



    zeile =>


    new pname[256];
    GetPlayerName(i, pname, 256);
    format(string, 256, "Du hast %s, wiederbelebt!",pname);
    SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
    GetPlayerName(playerid, pname, 256);
    format(string, 256, "Arzt %s hat dich wiederbelebt!",pname);
    SendClientMessage(i, COLOR_LIGHTGREEN, string);
    PlayerInfo[i][pTot] = 0;
    pIstTot[i] = 0;
    SetPlayerPos(i,PlayerInfo[i][pTx],PlayerInfo[i][pTy],PlayerInfo[i][pTz]);
    SetCameraBehindPlayer(i);
    DestroyPickup(TotenKopf[i]);
    TogglePlayerControllable(i,1);
    PlayerInfo[i][pTx] = 0.0;
    PlayerInfo[i][pTy] = 0.0;
    PlayerInfo[i][pTz] = 0.0;
    new Float:tempheal;
    GetPlayerHealth(i,tempheal);
    [/align][/align]

    Einmal editiert, zuletzt von Der_Tim ()

  • Beitrag Bearbeiten > Code löschen > Über dem Text Feld über der Grauen Leiste Von "Editor" zu "Quellcode" wechseln > drücken den Code zwischen die Klammern ] und [ kopieren und erneut absenden.


    So ist er 1. Im richtigen Format und kein Zitat oder sowas und
    2. Er ist eingerückt und deutlich besser lesbar...


    Merken, danke...

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen