DCS func force player slot
From DCS World Wiki - Hoggitworld.com
| Environment: | Server | ||
| Function: | force_player_slot | Added with: 2.5.0 | |
| Member Of: | net, net (gameGUI) | ||
| Syntax: | boolean net.force_player_slot(number playerID, number sideId, number slotId ) | ||
| Description: | Forces the player to occupy the set slot.
SideID: 0 : spectators 1 : Red 2 : Blue SlotId matches unit Ids of client aircraft. The exception being Combined Arms slots and multicrew slots. The latter of which have "_X" appended to denote the seat.
| ||
| Return Value: | boolean | ||
| 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
| ||
| Notes: | |||