Beiträge von Joker™

    Hei ich habe 26 Error's und wollte wissen ob das ein Klammerfehler ist weil auf der Seite: http://germanrsbot.square7.de/…r/index.php?Seite=profile zeigt es nichts an hier der Erros Code:



    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(2991) : error 017: undefined symbol "IsAGang"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(3032) : error 017: undefined symbol "LoopingAnim"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(3071) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(3083) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(4379) : error 017: undefined symbol "sscanf"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(4703) : error 017: undefined symbol "IsAFahrschulVeh"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(5400) : error 017: undefined symbol "OnPlayerCarLogin"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(6107) : error 017: undefined symbol "RemoveBlitzer"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(6142) : error 017: undefined symbol "OnPlayerCarUpdate"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7415) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7522) : error 017: undefined symbol "IsPlayerInArea"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7775) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7776) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7777) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7778) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7779) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7780) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7781) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7782) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7783) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7784) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7785) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7786) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7787) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(7788) : error 017: undefined symbol "PreloadAnimLib"
    C:\Users\Andy\Desktop\NEWRR2.3\NEWRR2.3\gamemodes\NEWRR2.3.pwn(8722) : error 004: function "Elevator_MoveToFloor" is not implemented


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



    26 Errors.

    Du musst aus den >= ein == machen,
    weil wenn du Level 8 bist ist es ja auch größer als 5, somit kommt bei dir immer 5, egal welchen Rang über 5 du hast ;)


    Lol schon wieder hab ich das nicht gesehen :D Danke dir bin sau verpeilt noch nicht geschlaffen ;)

    Hallo ich editiere zurzeit mein Godfather dann habe ich einwenig die /aduty Rang namen geändert aber inGame kommt immer noch Administrantor:


    if (strcmp(cmd, "/adminduty", true) == 0 || strcmp(cmd, "/aduty", true) == 0)
    {
    if(AdminDuty[playerid] == 0)
    {
    if(PlayerInfo[playerid][pAdmin] == 1)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Mod[playerid] = Create3DTextLabel("Probe Supporter",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Mod[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Probe Supporter -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] == 2)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Mod[playerid] = Create3DTextLabel("Supporter",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Mod[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Supporter -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] == 3)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Mod[playerid] = Create3DTextLabel("Moderator",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Mod[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Moderator -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] == 4)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Supermod[playerid] = Create3DTextLabel("Super Moderator",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Supermod[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Super Moderator -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >=5)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Admin[playerid] = Create3DTextLabel("Administrator",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Administrator -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >=6)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Admin[playerid] = Create3DTextLabel("Super Administrator",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Super Administrator -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >=7)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Admin[playerid] = Create3DTextLabel("Servermanager",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Servermanager -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >=8)
    {
    SetPlayerColor(playerid,0xFFDC00FF);
    AdminDuty[playerid] = 1;
    Admin[playerid] = Create3DTextLabel("Projektleiter",0xFFDC00FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin[playerid], playerid, 0.0, 0.0, 0.4);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"|- Projektleiter -| %s ist nun im Dienst",sendername,playerid);
    SendClientMessageToAll(0xFFDC00FF, string);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    }
    if(AdminDuty[playerid] == 1)
    {
    SendClientMessage(playerid,COLOR_YELLOW,"{00FFAA}INFO: {FFFFFF}Du bist nun nicht mehr im Dienst.");
    Delete3DTextLabel(Admin[playerid]);
    Delete3DTextLabel(Supermod[playerid]);
    Delete3DTextLabel(Mod[playerid]);
    Delete3DTextLabel(Supporter[playerid]);
    Delete3DTextLabel(Admin[playerid]);
    Delete3DTextLabel(Supermod[playerid]);
    Delete3DTextLabel(Mod[playerid]);
    Delete3DTextLabel(Supporter[playerid]);
    AdminDuty[playerid] = 0;
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    }
    else
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR);
    }
    }
    return 1;
    }
    return 1;
    }

    Hier aus meinem:


    if(strcmp(cmd, "/invite", true) == 0)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "Benutzung: /invite [playerid/Name]");
    return 1;
    }
    new leader = PlayerInfo[playerid][pLeader];
    new para1 = ReturnUser(tmp);
    if (PlayerInfo[playerid][pLeader] >= 1)
    {
    if(IsPlayerConnected(para1))
    {
    if(para1 != INVALID_PLAYER_ID)
    {
    if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
    {
    if(PlayerInfo[para1][pFrakSperre] == 0 && PlayerInfo[para1][pLevel] >= 3)
    {
    GetPlayerName(para1, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    printf("AdmCmd: %s hat %s in die Fraktion %s eingeladen.", sendername, giveplayer,Fracs[leader-1]);
    format(string, sizeof(string), " Du wurdest in die Fraktion %s von Leader %s eingeladen.",Fracs[leader-1], sendername);
    SendClientMessage(para1, COLOR_LIGHTBLUE, string);
    SendClientMessage(para1, COLOR_GRAD2, " Um die Einladung anzunehmen: /einladung annehmen");
    //SendClientMessage(para1, COLOR_GRAD2, " Um die Einladung abzulehnen: /einladung ablehnen");
    format(string, sizeof(string), " Du hast %s in die Fraktion %s eingeladen.", giveplayer,Fracs[leader-1]);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SendClientMessage(playerid, COLOR_GRAD2, " Der Spieler muss nun deine Einladung annehmen oder ablehnen.");
    new iyear, imonth,iday;
    getdate(iyear, imonth, iday);
    format(string, sizeof(string), "%s[Level:%d] wurde von %s in die Fraktion %s eingeladen (%d-%d-%d)", giveplayer,PlayerInfo[para1][pLevel],sendername,Fracs[leader-1],imonth,iday,iyear);
    MemberLog(string);
    Eingeladen[para1] = leader;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler hat eine Fraktions-Sperre oder hat noch nicht Level 3 erreicht.");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler ist in einer anderen Fraktion oder bereits ein Fraktionsmitglied.");
    return 1;
    }
    }
    }//not connected
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nur der Leader kann diesen Befehl nutzen!");
    }
    return 1;
    }


    Die waren für meine Servervorstellung gedacht da ich die nicht mehr brauche da mein Projekt Down ging ;)

    Hallo Breadfish,
    So mein Problem bei /admins zeigt es mich in jeder Leiste an von Supporter bis Projektleiter hier der Code hoffe ihr könnt mir helfen:


    if (strcmp(cmd, "/admins", true) == 0 || strcmp(cmd, "/supporter", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, 0xFFA000FF, "Admins und Supporter:");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[i][pAdmin] >= 1)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Probe Supporter: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 2)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Supporter: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 3)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Moderator: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 4)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Super Moderator: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 5)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Administrator: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 6)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Super Administrator: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 7)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Servermanager: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    if(PlayerInfo[i][pAdmin] >= 8)
    {
    GetPlayerName(i, sendername, sizeof(sendername));
    format(string,sizeof(string),"Projektleiter: %s | Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, 0x787878FF, string);
    }
    }
    }
    }
    return 1;
    }