Difference between revisions of "DCS func get player list"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_server_funcs |fName= get_player_list |vNum= 2.5.0 |par1= net |par2= |par3= |par4= |desc= Returns a table of players currently con...")
 
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|par1= [[DCS_singleton_net|net]]
 
|par1= [[DCS_singleton_net|net]]
  
|par2=  
+
|par2= [[DCS_server_gameGUI|net (server)]]
  
 
|par3=  
 
|par3=  
Line 44: Line 44:
 
}}
 
}}
 
[[Category:DCS Control Functions|get_player_list]]
 
[[Category:DCS Control Functions|get_player_list]]
 +
[[Category:Game Patch 2.5.0|get_player_list]]

Latest revision as of 22:51, 17 March 2022


Environment: Server
Function: get_player_list Added with: 2.5.0
Member Of: net, net (server)
Syntax: table net.get_player_list( )
Description: Returns a table of players currently connected to the server.


Return Value: table
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: