DCS func send chat to

From DCS World Wiki - Hoggitworld.com
Revision as of 07:46, 1 September 2021 by Grimes (talk | contribs) (Created page with "{{Template:DCS_server_funcs |fName= send_chat_to |vNum= 2.5.0 |par1= net |par2= |par3= |par4= |desc= Sends a chat message to the player with the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Environment: Server
Function: send_chat_to Added with: 2.5.0
Member Of: net
Syntax: net.send_chat_to(string message, number playerId , number fromId)
Description: Sends a chat message to the player with the passed id. If the optional from Id is set then the player will appear to receive a message from that player.


Return Value:
Return Example:
Examples:
Related Functions: Network API: send_chat, send_chat_to, recv_chat, load_mission, load_next_mission, get_player_list, get_my_player_id, get_server_id, get_player_info, kick, get_stat, get_name, get_slot, set_slot, force_player_slot, lua2json, json2lua, dostring_in, log, trace
Notes: