DCS func get slot
From DCS World Wiki - Hoggitworld.com
Environment: | Server | ||
Function: | get_slot | Added with: 2.5.0 | |
Member Of: | net | ||
Syntax: | number, number net.get_slot(number playerID ) | ||
Description: | Returns the sideId and slotId of a given player. Is the same as net.get_player_info(playerID, 'side') and net.get_player_info(playerID, 'slot')
| ||
Return Value: | number, number | ||
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: |