Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkLobbyPlayer.OnClientReady

public void OnClientReady(bool readyState);

Parameters

readyState Whether the player is ready or not.

Description

This is a hook that is invoked on clients when a LobbyPlayer switches between ready or not ready.

This function is called when the a client player calls SendReadyToBeginMessage() or SendNotReadyToBeginMessage().

See Also: SendReadyToBeginMessage, SendNotReadyToBeginMessage.