Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.35 KB | None | 0 0
  1. IRCCMD:players(botid, channel[], user[], host[], params[])
  2. {
  3.     for(new i; i < MAX_PLAYERS; i++)
  4.     {
  5.         if (IsPlayerConnected(i))
  6.         {
  7.             new msg[128];
  8.             new allnames[MAX_PLAYERS];
  9.             GetPlayerName(i, allnames, sizeof(allnames));
  10.             format(msg, sizeof(msg), "02*** Players: %s ", allnames);
  11.             IRC_GroupSay(gGroupID, channel, msg);
  12.  
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement