Table of Contents

Class EventPlayerChat

Namespace
CounterStrikeSharp.API.Modules.Events
Assembly
CounterStrikeSharp.API.dll
[EventName("player_chat")]
public class EventPlayerChat : GameEvent
Inheritance
object
EventPlayerChat
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

bool

Text

The text content of the chat message

public string Text { get; set; }

Property Value

string

Userid

The user ID of the player who sent the chat message

public int Userid { get; set; }

Property Value

int