Garry's Mod Wiki

SendUserMessage

  SendUserMessage( string name, any recipients, vararg args )

Description

Send a usermessage

We advise against using this. It may be changed or removed in a future update. This uses the umsg internally, which has been deprecated. Use the net instead.
This does nothing clientside.

Arguments

1 string name
The name of the usermessage
2 any recipients
Can be a CRecipientFilter, table or Player object.
3 vararg args
Data to send in the usermessage