We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59af503 commit f10585eCopy full SHA for f10585e
callbacks.rst
@@ -231,3 +231,15 @@ et_SpawnEntitiesFromString()
231
----------------------------
232
233
Called when an entity definition is parsed to spawn gentities.
234
+
235
236
+intercepted, message = et_Chat( sender, receiver, message )
237
+-----------------------------------------------------------
238
239
+Called whenever a player sends a chat message. It is called for each player receiving the message.
240
241
+* **sender** is the player sending the message.
242
+* **receiver** is the player receiving the message.
243
+* **message** is the chat message.
244
245
+Returns an integer (intercepted) and a string (message). If intercepted is 1, the chat message will be replaced.
0 commit comments