Beiträge von Dennis147

    Irgendwo ins Script, aber nicht unter einen anderen Public

    Jetzt ist das gekommen:


    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(3647) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(4402) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(10978) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 033: array must be indexed (variable "cmd")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20005) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20006) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20007) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20008) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20009) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20010) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20013) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20014) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20015) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20027) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20032) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20037) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20042) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20047) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20051) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20057) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20062) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20067) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20072) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20077) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20082) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20087) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20092) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20097) : error 079: inconsistent return types (array & non-array)


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



    26 Errors.

    Unter was soll ich es einfügen?

    Jetzt Sind es diese
    26 Errors:


    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(3647) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(4402) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(10978) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 033: array must be indexed (variable "cmd")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20168) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20168) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20226) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20226) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20478) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20478) : error 033: array must be indexed (variable "x_nr")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20488) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20488) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20518) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20518) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20562) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20562) : error 033: array must be indexed (variable "x_nr")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20572) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20572) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20602) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20602) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20777) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20777) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20824) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20824) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20833) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20833) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20869) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20869) : error 033: array must be indexed (variable "tmp")


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



    26 Errors.

    Hallo Breadfish beim Compilieren Hab ich diese Errors Bekommen wie behebe ich diese?


    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3104) : error 017: undefined symbol "DestroyDynamicObject"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3120) : error 017: undefined symbol "DestroyDynamicObject"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3650) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3651) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3652) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3653) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3654) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3655) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3656) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3657) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3658) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3659) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3660) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3661) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3662) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3663) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3664) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3665) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3666) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3667) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3668) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3669) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3670) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3671) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3672) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3673) : error 017: undefined symbol "RemoveBuildingForPlayer"


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



    26 Errors.

    Ok Jetzt geht alles aber weist du wie man diese Warnung Behebt?


    C:\Users\p\Desktop\LoH0gNe\gamemodes\BCR.pwn(56273) : warning 203: symbol is never used: "M_OnPlayerCommandText"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

    if(PlayerInfo[playerid][pAdmin] >= 2000) //Die 4 ist sein Adminrang
    }
    format(string, sizeof(string),"((*Serverleiter %s: %s))", sendername, result);


    } ist die Zeile 24107

    #Edit: Klammerfehler gefunden Jetzt ist das beim Compilieren:


    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(24107) : error 029: invalid expression, assumed zero
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(56272) : warning 203: symbol is never used: "M_OnPlayerCommandText"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    Okay habe es mal versucht ich Compiliere es mal:


    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(4722) : error 017: undefined symbol "IsPlayerInFrac"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(4808) : error 017: undefined symbol "SetPlayerToKnast"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5126) : error 017: undefined symbol "IsPlayerInFrac"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5433) : error 004: function "ClearBlack" is not implemented
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5609) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5716) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5751) : error 017: undefined symbol "IsPlayerInFrac"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5755) : error 017: undefined symbol "IsPlayerInFrac"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5913) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5914) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5915) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5916) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\p\Desktop\Script\gamemodes\BCR.pwn(5917) : error 017: undefined symbol "PreloadAnimLib"


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



    26 Errors.

    if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(gPlayerLogged[playerid] == 0)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist noch nicht Eingeloggt !");
    return 1;
    }
    if(PlayerInfo[playerid][pMuted] == 1)
    {
    SendClientMessage(playerid, TEAM_CYAN_COLOR, " Du kannst nicht sprechen, du bist gemutet !");
    return 1;
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(cmdtext);
    while ((idx < length) && (cmdtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = cmdtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, 0xFFE600FF, "NUTZUNG: (/o)oc [ooc chat]");
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    format(string, sizeof(string),"((*%d Admin %s: %s))", PlayerInfo[playerid][pAdmin], sendername, result);
    }
    else if(PlayerInfo[playerid][pAdmin] == 0 && (noooc))
    {
    format(string, sizeof(string), "(( %s: %s))", sendername, result);
    }
    else if(PlayerInfo[playerid][pAdmin] == 2000)
    {
    format(string, sizeof(string), "((%d Owner %s: %s))", 0xD70000FF,PlayerInfo[playerid][pSupporter], sendername, result);
    }
    else return 1;
    OOCOff(COLOR_OOC,string);
    Log("OA-Chat.txt",string);
    }
    return 1;
    }
    if(strcmp(cmd, "/noshowme", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pAdmin] >= 3 && ShowMeAllowed == 1)
    {
    ShowMeAllowed = 0;
    BroadCast(COLOR_GRAD2, "Showmes können benutzt werden (/showme).");
    }
    else if (PlayerInfo[playerid][pAdmin] >= 3 && ShowMeAllowed == 0)
    {
    ShowMeAllowed = 1;
    BroadCast(COLOR_GRAD2, "Showmes können nicht mehr benutzt werden.");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Tu das Lieber nicht!");
    }
    }
    return 1;
    }
    if(strcmp(cmd, "/noooc", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pAdmin] >= 1337 && (!noooc))
    {
    noooc = 1;
    BroadCast(COLOR_GRAD2, "Der öffentliche Chat wurde eingeschaltet.");
    }
    else if (PlayerInfo[playerid][pAdmin] >= 1337 && (noooc))
    {
    noooc = 0;
    BroadCast(COLOR_GRAD2, "Der öffentliche Chat wurde ausgeschaltet.");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Tu das Lieber nicht!");
    }
    }
    return 1;
    }

    Hallo leute ich möchte bei Meinem Script die stats ändern Also das es nicht mehr:
    " Von Links nach rechts ist " sondern: " Von Oben Nach unten"
    wie mach ich das?