Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IRCCMD:players(botid, channel[], user[], host[], params[])
- {
- for(new i; i < MAX_PLAYERS; i++)
- {
- if (IsPlayerConnected(i))
- {
- new msg[128];
- new allnames[MAX_PLAYERS];
- GetPlayerName(i, allnames, sizeof(allnames));
- format(msg, sizeof(msg), "02*** Players: %s ", allnames);
- IRC_GroupSay(gGroupID, channel, msg);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement