Language: English
  • 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

msgMessage structure.
msgTypeMessage 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