Beispiel #1
0
 /** Bigtext command. Sends a message for all players.
  * This function is bound to the !bigtext command. It sends a message for all players, displayed on the center of screen, 
  * like flag captures.
  * 
  * \param $id The game ID of the player who executed the command.
  * \param $command The command parameters.
  * 
  * \return Nothing.
  */
 public function CommandBigtext($id, $command)
 {
     if (!empty($command[0])) {
         $text = implode(' ', $command);
         RCon::bigtext('"' . $text . '"');
     } else {
         Rcon::tell($id, 'Missing parameters.');
     }
 }