Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmdtext, "/admins", true) == 0){
- new Jogador[24];
- new count = 0;
- new msg[120];
- new ListaAdmins[128];
- for(new i=0; i<MAX_PLAYERS; i++){
- if(IsPlayerConnected(i) && IsPlayerAdmin(i)){
- GetPlayerName(i,Jogador,24);
- format(msg,sizeof(msg),"[brasukasamp.blogspot.com]Admins Online's: %s", Jogador);
- SendClientMessage(playerid, 0x000FFFAA, msg);
- count++;
- }
- }
- if(count >= 0){
- SendClientMessage(playerid, ADMINFS_MESSAGE_COLOR, "Admins Off");
- dini_IntSet (ListaAdmins, "Admins", 1);
- SendClientMessage(playerid, ADMINFS_MESSAGE_COLOR, ListaAdmins);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement