Grand Theft Auto European City
Server Discussion => Server Suggestions => Topic started by: Sixsine on May 12, 2020, 02:40:38 pm
-
Suggestion for:Server
Your suggestion so add a simple command which display afk players
Extra notes: like this one @Human.
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.
-
The status of a player is shown when you do /fps or /ping. It shows whether the player is away or in the game.
how lol?
-
If the player is not AFK, it will show "Away: not true" | and if the player is AFK, it will show "Away: true"
-
Oh thanks do you can remove this topic then?
-
Locked.