> For the complete documentation index, see [llms.txt](https://sneakyevil.gitbook.io/sleeping-dogs-de-script-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sneakyevil.gitbook.io/sleeping-dogs-de-script-api/callbacks/oncharacterdeath.md).

# OnCharacterDeath

This callback is called when some character dies.

#### Example:

```squirrel
function OnCharacterDeath(SimCharacter)
{
    // Your code...
}
```
