Garry's Mod Wiki

umsg.String

  umsg.String( string string )

Description

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

Writes a null terminated string to the usermessage.

Arguments

1 string string
The string to be sent.

Example

An easy way to send any string to the client or clients

umsg.Start("Example_SendString") -- With umsg.Start("Example_SendString",pl) Must get pl value the player entity. umsg.String("Custom Text") umsg.End()