Join us in discord and have a chit chat with us! https://discord.gg/FXh8ahd
0 Members and 1 Guest are viewing this topic.
else if ( ( cmd == "afk" ) || ( cmd == "afk" ) ) { 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]AFK Players" , player ); if ( b ) MessagePlayer( "[#33cc00]Information: [#FFFFFF]: " + b + "" , player ); else MessagePlayer( "[#009900][AFK][#ffffff] None " , player ); }
The status of a player is shown when you do /fps or /ping. It shows whether the player is away or in the game.