Beiträge von Sony

    lol so ein scheiß passiert sowieso net wen die welt untergeht dann ihr 500.000 jahren warum sollte unbedinngt jetzt die welt unter gehen und net als die Dinnosaurier da sind wen die welt untergeht dann nur wen die Sonne zu nah ist.

    //----------------------------------[SetCrim]-----------------------------------------------
    if(strcmp(cmd, "/suspect", true) == 0 || strcmp(cmd, "/su", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, "Du bist nicht im Dienst!");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "HILFE: (/su)spect [playerid/PartOfName] [crime discription]");
    return 1;
    }
    giveplayerid = ReturnUser(tmp);
    if (gTeam[playerid] == 2 || IsACop(playerid))
    {
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    if (gTeam[giveplayerid] != 2)
    {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    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, COLOR_GRAD2, "HILFE: (/su)spect [playerid/PartOfName] [crime text]");
    return 1;
    }
    if(WantedLevel[giveplayerid] == 0) { WantedLevel[giveplayerid] == 1; }
    else { WantedLevel[giveplayerid]+= 1; }
    SetPlayerCriminal(giveplayerid,playerid, result);
    WantedLevel[giveplayerid]++;
    SetPlayerWantedLevel(giveplayerid,WantedLevel[giveplayerid]);
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD2, "Du kannst einem Polizist keine wanteds geben.");
    }
    }
    }
    else
    {
    format(string, sizeof(string), " %d ist kein aktiver Spieler.", giveplayerid);
    SendClientMessage(playerid, COLOR_GRAD1, string);
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD2, " You are not a Cop / FBI / National Guard !");
    }
    }
    return 1;
    }


    Versuch des mal so

    mach des mal lieber so
    if(strcmp(cmd, "/ahilfe", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
    if(Player[playerid][admin]== 0)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Du bist kein Admin!");
    }
    if(Player[playerid][admin] >= 1)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Supporter: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 2)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Supporter:Hier die Befehle");
    }
    if(Player[playerid][admin] >= 3)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Supporter: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 4)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Headsupporter: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 5)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Moderator: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 6)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Moderator: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 7)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Moderator: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 8)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Headmoderator: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 1337)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Admin: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 1338)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Admin: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 1339)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Headadmin: Hier die Befehle");
    }
    if(Player[playerid][admin] >= 2000)
    {
    SendClientMessage(playerid, COLOR_WHITE,"Mainadmin: Hier die Befehle");
    }
    return 1;
    }