Difference between revisions of "DCS func send chat to"

From DCS World Wiki - Hoggitworld.com
Line 5: Line 5:
 
|vNum= 2.5.0
 
|vNum= 2.5.0
  
|par1= [[DCS_singleton_net|net (mission)]]
+
|par1= [[DCS_singleton_net|net]]
  
|par2= [[DCS_server_gameGUI|net (server)]]
+
|par2= [[DCS_server_gameGUI|net (gameGUI)]]
  
 
|par3=  
 
|par3=  
Line 36: Line 36:
  
  
|related=  
+
|related= |related= [[DCS_server_gameGUI|'''GameGUI API:''']] {{listOfNetFuncs}}
[[DCS_singleton_net|'''Network API:''']] {{listOfNetFuncs}}
 
  
 +
 +
[[DCS_singleton_net|'''Mission Net''']] {{listOfMissionNetFuncs}}
 
|examples=  
 
|examples=  
  

Revision as of 22:54, 17 September 2021


Environment: Server
Function: send_chat_to Added with: 2.5.0
Member Of: net, net (gameGUI)
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: GameGUI 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


Mission Net send_chat, send_chat_to, recv_chat, 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: