Class EventPlayerChat
- Namespace
- CounterStrikeSharp.API.Modules.Events
- Assembly
- CounterStrikeSharp.API.dll
[EventName("player_chat")]
public class EventPlayerChat : GameEvent
- Inheritance
-
objectEventPlayerChat
- Inherited Members
Constructors
EventPlayerChat(bool)
public EventPlayerChat(bool force)
Parameters
force
bool
EventPlayerChat(nint)
public EventPlayerChat(nint pointer)
Parameters
pointer
nint
Properties
Teamonly
If this chat message was sent to team only
public bool Teamonly { get; set; }
Property Value
Text
The text content of the chat message
public string Text { get; set; }
Property Value
Userid
The user ID of the player who sent the chat message
public int Userid { get; set; }