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