22.11.2013, 16:51
It's very easy!
You format a string that you send to the player who will recieve the PM and you format another string that you send to the player who typed the command, right?
All you need to do is: format a last string with the name of the player who typed the command, the player who will recieve the PM and the message. You can now loop through the players and if that player is a RCON admin, send the formatted message.
You format a string that you send to the player who will recieve the PM and you format another string that you send to the player who typed the command, right?
All you need to do is: format a last string with the name of the player who typed the command, the player who will recieve the PM and the message. You can now loop through the players and if that player is a RCON admin, send the formatted message.