Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkServer.SendToClient<MSG>(int,short,MSG)

Parameters

connectionId Client connection ID.
msg Message struct to send.
msgType Message type.

Description

Send a message to the client which owns the given connection ID.