Grand Theft Auto European City

Server Discussion => Server Suggestions => Topic started by: Sixsine on May 12, 2020, 02:40:38 pm

Title: Suggestion Add /AFK Command
Post 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.

Quote
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 );
       
}



Title: Re: Suggestion Add /AFK Command
Post by: Hazard on May 12, 2020, 04:26:54 pm
The status of a player is shown when you do /fps or /ping. It shows whether the player is away or in the game.
Title: Re: Suggestion Add /AFK Command
Post by: Sixsine on May 12, 2020, 05:15:36 pm
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?
Title: Re: Suggestion Add /AFK Command
Post by: Hazard on May 12, 2020, 05:37:03 pm
If the player is not AFK, it will show "Away: not true" | and if the player is AFK, it will show "Away: true"
Title: Re: Suggestion Add /AFK Command
Post by: Sixsine on May 12, 2020, 06:15:14 pm
Oh thanks do you can remove this topic then?
Title: Re: Suggestion Add /AFK Command
Post by: Hazard on May 12, 2020, 06:44:06 pm
Locked.