Beiträge von Eazy.

    Hallo.


    @Jeffry



    Ich habe einen System für die Wheelman namens "/breakcuff"
    Damit kann ein Wheelman Usern die Handschellen entcuffen.


    Doch ich möchte das da ein Countdown von 3 2 1 kommt


    damit meine ich wenn ein Wheelman /breakcuff macht soll stehen " 3 " "2" "1" Geknackt


    also nur der Countdown soll stehen


    mein /breakcuff System:


    } if(strcmp(cmd, "/breakcuff", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsPlayerInFrac(playerid, 21)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "BEFEHL: /breakcuff [playerid]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Du hast dir selbst die Handschellen geknackt!"); return 1; } if(PlayerCuffed[giveplayerid]) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* Wheelman %s hat dir die Handschellen geknackt.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Du knackst %s die Handschellen ab.", giveplayer); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); GameTextForPlayer(giveplayerid, "~g~Entfesselt", 2500, 3); RemovePlayerAttachedObject(giveplayerid,0); SetPlayerSpecialAction(giveplayerid,SPECIAL_ACTION_NONE); UnFreezePlayer(giveplayerid); PlayerCuffed[giveplayerid] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "Der Spieler ist nicht gecufft!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Der Spieler ist nicht in deiner Nähe!"); return 1; } } } else { SendClientMessage(playerid, COLOR_GREY, "Dieser Spieler ist Offline!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "Du bist kein Wheelman!"); } }//not connected return 1; }


    Am liebsten den Befehl erstellen und sagen wo es hin soll.


    Will es mal selber versuchen :)
    Und es euch zeigen

    Hallo. @Jeffry


    Ich wollte fragen ob mit jemanden Scripten kann.
    Das wenn jemand /admins macht


    Da auch die Anzahl der bearbeiteten Reports von der Person steht.
    Natürlich soll dies auch in den Scriptfiles gespeichert werden.
    Also das heißt wenn sogar Serverrestart vom Host kommt das die Reports anzahl bleibt.
    Hoffe jemand macht mir das :)


    Mein /admins System:


    } if (strcmp(cmd, "/admins", true) == 0 || strcmp(cmd, "/supporter", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, 0xAFAFAFAA, "Admins/Supporter Online:"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pSupporter] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Probe.Supporter: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pSupporter] == 2) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Supporter: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Administrator: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 2) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Administrator: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 3) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"B-MOD: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 4) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"B-MOD: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, 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, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 6) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Administrator: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 1337) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Eventmanager: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 1338) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Fraktionsverwalter: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 2000) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Stv.Serverleiter: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } if(PlayerInfo[i][pAdmin] == 2001) { GetPlayerName(i, sendername, sizeof(sendername)); format(string,sizeof(string),"Serverleiter: %s || Nummer: %d",sendername,PlayerInfo[i][pPnumber]); SendClientMessage(playerid, 0xAFAFAFAA, string); } } } } return 1;


    Also Anstatt "HandyNummer" soll "Reports:" stehen :)