Welcome to The Grand Theft Auto European City Community!
0 Members and 2 Guests 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.