Player.ChatPrint
From GMod Wiki
| Function | |
| Syntax | Player:ChatPrint( String Text ) |
| Description: | |
| Prints a message into the player's chat area. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.ChatPrint]Player.ChatPrint [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints "You bad boy!" in the chat of player 1 |
|---|---|
| Used on | |
| Code | player.GetByID( 1 ):ChatPrint("You bad boy!") |
| Output | You bad boy! |