Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nrzull committed Jun 21, 2019
1 parent 3e3090d commit 2953145
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ The chat uses CEF and it tries to simulate behavior of default chat

```lua
addEventHandler("onResourceStart", resourceRoot, function()
-- exports.chat2:useDefaultOutput(true) -- need to be executed if your gamemode doesn't output any messages to chat in onPlayerChat event handlers. As an example: play gamemode already uses its own output so you don't need to enable default output, but race gamemode doesn't have it, so you need to enable default output.
-- need to be executed if your gamemode doesn't output any messages to chat in
-- onPlayerChat event handlers. As an example: play gamemode already uses its own output
-- so you don't need to enable default output, but race gamemode doesn't have it,
-- so you need to enable default output.
exports.chat2:useDefaultOutput(true)
end)

addEventHandler("onPlayerJoin", root, function()
Expand Down

0 comments on commit 2953145

Please sign in to comment.