Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkServer.SendToAll<MSG>(short,MSG)

Switch to Manual

Parameters

msg Message structure.
msgType Message type.

Returns

void Success if message is sent.

Description

Send a message structure with the given type number to all connected clients.

no example available in JavaScript