DCS func kick

From DCS World Wiki - Hoggitworld.com
Revision as of 22:59, 17 March 2022 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Environment: Server
Function: kick Added with: 2.5.0
Member Of: net, net (server)
Syntax: boolean net.kick(number playerId , string message)
Description: Kicks a player from the server. Can display a message to the user.


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