How to make a /afklist command?
#1

Does anyone know how to make this, I have already a variable setted for my normal /afk and /back but now I want people to see who is /afk.

Variable at top of script:
pawn Код:
new IsAFK[MAX_PLAYERS];
It must be like in
pawn Код:
COMMAND:afklist(playerid,params[])
new Msg[128], Afkname[24];
{
   
    format(Msg, 128, "{FF6600}s%", Afkname[24]); // the guy who is AFK.
    SendClientMessage(playerid, 0xFFFFFFFF, "People who are AFK:")
    SendClientMessage(playerid, 0xFFFFFFFF, Msg)
}
Someone could help?
Reply


Messages In This Thread
How to make a /afklist command? - by SomebodyAndMe - 13.12.2011, 17:55
Re: How to make a /afklist command? - by Ballu Miaa - 13.12.2011, 18:19
Re: How to make a /afklist command? - by eDz0r - 13.12.2011, 18:27
Re: How to make a /afklist command? - by Rob_Maate - 13.12.2011, 20:29
Re: How to make a /afklist command? - by Ballu Miaa - 14.12.2011, 01:37
Re: How to make a /afklist command? - by SomebodyAndMe - 14.12.2011, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)