AFK SYSTEM
This Is A AFK ( away from keyboard ) script by me. Its Actually just a command that Shows The Players Who Are AFK.
I Dont Know If Anyone has Posted It Before, But It Has Been Made By Me.
else if ( ( cmd == "afk" ) || ( cmd == "afks" ) )
{
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( plr.Away ) )
{
if ( b ) b = b + ", " + plr.Name + ""
else b = plr.Name + ""
}
}
MessagePlayer( "[#33cc00]Information: [#ffffff]Displaying List Of People Who Are Afk" , player );
if ( b ) MessagePlayer( "[#33cc00]Information: [#FFFFFF]: " + b + "" , player );
else MessagePlayer( "[#009900][AFK][#ffffff] None " , player );
}
Guys I Didnt Knew Where To Actually Post This Topic In. SO Plz Forgive me if i posted it in the Wrong Board.
Hope It Helps.
For Those Of U who dont know what afk is, it is when you minimize your game( i am talking about this command) it shows people who have minimized their games.
Note: According To This People Who Are Not Spawned ( Still On Spawn Screen ) are also considered Away.
is Not a System is a Command, Anywany GooD JoB :3
else if ( ( cmd == "afk" ) || ( cmd == "afks" ) )
{
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( plr.Away ) )
{
if ( b ) b = b + ", " + plr.Name + ""
else b = plr.Name + ""
}
}
MessagePlayer( "[#33cc00]Information: [#ffffff]Displaying List Of People Who Are Afk" , player );
if ( b ) MessagePlayer( "[#33cc00]Information: [#FFFFFF]: " + b + "" , player );
else MessagePlayer( "[#009900][AFK][#ffffff] None " , player );
}
Nice work Bro ;)