Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IRCCMD:admins(conn, channel[], user[], params[])
- {
- new count,lolz1[200],playerid,level;
- for (new giveid; giveid != GetMaxPlayers(); giveid ++)
- {
- if (!IsPlayerConnected(giveid)) continue;
- if (admin[playerid] >= 0)
- {
- if (count == 0) IRC_GroupSay(gGroupID,channel,"4*** Administator`s online.:1");
- GetPlayerName(giveid,lolz1,32);
- format(lolz1,200,"3(ID:%d) %s",giveid,lolz1,level);
- IRC_GroupSay(gGroupID,channel,lolz1);
- count++;
- }
- }
- if (count == 0) return IRC_GroupSay(gGroupID,channel,"4*** There are no admins connected.");
- #pragma unused params,user,conn
- return true;
- }
Add Comment
Please, Sign In to add comment