Skip to content

Commit

Permalink
Add et_Chat callback documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Exagone313 committed May 17, 2024
1 parent 59af503 commit c55f144
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions callbacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,13 @@ et_SpawnEntitiesFromString()
----------------------------

Called when an entity definition is parsed to spawn gentities.


et_Chat( sender, receiver, message )
---------------------------------------------

Called whenever a player sends a chat message. It is called for each player receiving the message.

* **sender** is the player sending the message.
* **receiver** is the player receiving the message.
* **message** is the chat message.

0 comments on commit c55f144

Please sign in to comment.