Garry's Mod Wiki

umsg.Start

  umsg.Start( string name, Player filter = nil )

Description

We advise against using this. It may be changed or removed in a future update. You should be using net instead

Starts a new usermessage.

Usermessages have a limit of only 256 bytes!

Arguments

1 string name
The name of the message to be sent.
2 Player filter = nil
If passed a player object, it will only be sent to the player, if passed a CRecipientFilter of players, it will be sent to all specified players, if passed nil (or another invalid value), the message will be sent to all players.