Wo ist der Fehler ?

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
  • Einmal die Errors

    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 029: invalid expression, assumed zero
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 017: undefined symbol "entercar"
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 017: undefined symbol "carid"
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : 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.


    Und hier einmal die Zeilen
    if(strcmp(cmd, "/entercar", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {Benutze: /entercar [carid]");
    return 1;
    }
    new testcar = strval(tmp);
    if (PlayerInfo[playerid][pAdmin] >= 3)
    {
    PutPlayerInVehicle(playerid, testcar, 1);
    SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
    }

  • ehm, probiere es mal so ^^ :


    if(strcmp(cmd, "/entercar", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_WHITE, "Benutze: /entercar");
    return 1;
    }
    new testcar = strval(tmp);
    if (PlayerInfo[playerid][pAdmin] >= 3)
    {
    PutPlayerInVehicle(playerid, testcar, 1);
    SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
    }
    }
    }


    mfg:[SGS]Krypton :thumbup:

  • Danke -.-
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2577) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2581) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2593) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2597) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2601) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2605) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2609) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2613) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2617) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2629) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2633) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2637) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2641) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2645) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2657) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2661) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2665) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2677) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2681) : error 004: function "PlayerToPoint" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(2786) : error 017: undefined symbol "UpdateCountText"
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(3420) : error 017: undefined symbol "UpdateCountText"
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(3558) : error 004: function "RemoveRoadblock" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(4658) : error 004: function "SaveDrugSystem" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(4722) : error 004: function "SaveDrugSystem" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(4794) : error 004: function "SaveDrugSystem" is not implemented
    C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(4866) : error 004: function "SaveDrugSystem" is not implemented


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.


    Ich glaube nun ist mein Gamemod völlig gefickt