Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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))
- {
- GetPlayerName(i, sendername, sizeof(sendername));
- switch(PlayerInfo[i][pSupporter])
- {
- case 1:format(string,sizeof(string),"Probe.Supporter: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 2:format(string,sizeof(string),"Supporter: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- }
- switch(PlayerInfo[i][pAdmin])
- {
- case 1:format(string,sizeof(string),"Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 2:format(string,sizeof(string),"Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 3:format(string,sizeof(string),"Super-Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 4:format(string,sizeof(string),"Super-Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 5:format(string,sizeof(string),"Super-Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 6:format(string,sizeof(string),"Super-Moderator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 1337:format(string,sizeof(string),"Administrator: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 1338:format(string,sizeof(string),"High-Admin: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 2000:format(string,sizeof(string),"Stv.Serverleiter: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- case 2001:format(string,sizeof(string),"Serverleiter: %s || Reports: %d",sendername,PlayerInfo[i][pReports]);
- }
- SendClientMessage(playerid, 0xAFAFAFAA, string);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment