Garry's Mod Wiki

Garry's Mod Wiki

  boolean GM:PlayerCanSeePlayersChat( string text, boolean teamOnly, Player listener, Player speaker )

Description

Returns whether or not the player can see the other player's chat.

The speaker parameter does not have to be a valid Player object which happens when console messages are displayed for example.

Arguments

1 string text
The chat text
2 boolean teamOnly
If the message is team-only
3 Player listener
The player receiving the message
4 Player speaker
The player sending the message.

Returns

1 boolean
Can see other player's chat

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...