Skip to content

onPlayerChat

Andrew McWatters edited this page Jun 13, 2016 · 9 revisions

onPlayerChat Shared

The onPlayerChat callback is ran when a player says something, either with the say console command, or in the chat HUD element.

Parameters

**Location:** `src/game/init.lua`

Name Type Description
player player Player who spoke
message string Chat message
Clone this wiki locally