Difference between revisions of "DCS hook onPlayerChangeSlot"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_hooks_callbacks |fName= onPlayerChangeSlot |vNum= 2.5.0 |par1= hook |par2= |par3= |par4= |desc= Occurs when a player successfully...")
(No difference)

Revision as of 00:17, 15 May 2021


Envrioment: Server
Function: onPlayerChangeSlot Added with: 2.5.0
Member Of: hook
Syntax: nothing hook.onPlayerChangeSlot(number id )
Description: Occurs when a player successfully moves into a new slot. This will not be called for example if they try to RIO for a player and the pilot rejects the request.


Return Value: nothing
Return Actions:
Examples:
Related Functions: List of Callbacks: onMissionLoadBegin, onMissionLoadProgress, onMissionLoadEnd, onSimulationStart, onSimulationStop, onSimulationFrame, onSimulationPause, onSimulationResume, onGameEvent, onNetConnect, onNetMissionChanged, onNetConnect, onNetDisconnect, onPlayerConnect, onPlayerDisconnect, onPlayerStart, onPlayerStop, onPlayerChangeSlot, onPlayerTryConnect, onPlayerTrySendChat, onPlayerTryChangeSlot
Notes: