Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. IRCCMD:admins(conn, channel[], user[], params[])
  2. {
  3. new count,lolz1[200],playerid,level;
  4. for (new giveid; giveid != GetMaxPlayers(); giveid ++)
  5. {
  6. if (!IsPlayerConnected(giveid)) continue;
  7. if (admin[playerid] >= 0)
  8. {
  9. if (count == 0) IRC_GroupSay(gGroupID,channel,"4*** Administator`s online.:1");
  10. GetPlayerName(giveid,lolz1,32);
  11. format(lolz1,200,"3(ID:%d) %s",giveid,lolz1,level);
  12. IRC_GroupSay(gGroupID,channel,lolz1);
  13. count++;
  14. }
  15. }
  16. if (count == 0) return IRC_GroupSay(gGroupID,channel,"4*** There are no admins connected.");
  17. #pragma unused params,user,conn
  18. return true;
  19. }
Add Comment
Please, Sign In to add comment