# Low Health Anim

## &#x20;                                                 INSTALLATION

## STEP 1 - Drag And Drop

Drag `sin-lowhealthanim` into your resources folder.

## STEP 2 - Start the script in server.cfg

```lua
start sin-lowhealthanim
```

{% hint style="danger" %}
**Note -** This is requires simple lua knowledge
{% endhint %}

## &#x20;                                                  Configuration

```lua
Config['LowHealthAnim_Setup'] = {

    ['UseDefualtSystem'] = true, ---<<- if you going to use exports i am recommed to false this.
    ['DefualtSystemCheck'] = 1000, ---<<- every milliseceonds checking player stauts
    ['DefualtHealth'] = 175, ---<<- when player health < 180 then Activating Low Health Anim
    ['DefualtAnims'] = 2, ---<<- how many times heart pulse showing

    ['AnimLoop'] = 2000, ---<<- after player health is low then when player running or sprinting automaticaly showing anim (dealy)
    ['ShakeCam'] = 0.10, ---<<- camera shaking effect

}
```

## &#x20;                                                    Exports

**You can use exports to start animation.**

{% hint style="success" %}
Examples
{% endhint %}

> {% code fullWidth="false" %}
>
> ```
> Here is Code for Start Animation one time.
> ```
>
> {% endcode %}

<pre class="language-lua"><code class="lang-lua"><strong>exports['Sin-LowHealthAnim']:StartLowHealthAnim(1)
</strong></code></pre>

> <pre><code><strong>Here is Code for Start Animation two times.
> </strong></code></pre>

```lua
exports['Sin-LowHealthAnim']:StartLowHealthAnim(2)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sintic-store.gitbook.io/sintic-store/paid/lowhanim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
