> For the complete documentation index, see [llms.txt](https://madsl.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://madsl.gitbook.io/docs/resources/cs-styled-killfeed/adding-messages-to-the-feed.md).

# Adding Messages to the feed

You can add any custom message to the feed by triggering the `killfeed:addMessage` client event. It has two parameters: id and message. The id must be a unique string/int. The message needs to be a string.

### Example

```lua
TriggerClientEvent('killfeed:addMessage', -1, "this_is_a_test_1", "This is a test!")
```
