> For the complete documentation index, see [llms.txt](https://docs.vames-store.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vames-store.com/assets/vms_needs/compatibility/ambulance-job/ars_ambulancejob.md).

# ars\_ambulancejob

***

#### 1. Open the file

Open the following file: **ars\_ambulancejob/modules/compatibility/frameworks/*****YOUR\_FRAMEWORK*****/client.lua**

#### 2. Restore Player Statuses After Revive

Find the `Framework.healStatus` function and add the highlighted lines inside it.

{% hint style="info" %}
This restores hunger and thirst to at least 50% after a hospital respawn and clears the configured alcohol and substance statuses.
{% endhint %}

<pre class="language-lua"><code class="lang-lua">function Framework.healStatus()
    -- ===== VMS Needs =====
<strong>    if GetResourceState('vms_needs') == 'started' then
</strong><strong>        local hunger = exports['vms_needs']:GetPercentageStatus('hunger')
</strong><strong>        if hunger &#x3C; 50.0 then
</strong><strong>            exports['vms_needs']:SetStatus('hunger', 250.0) -- 250.0 = half
</strong><strong>        end
</strong><strong>                
</strong><strong>        local thirst = exports['vms_needs']:GetPercentageStatus('thirst')
</strong><strong>        if thirst &#x3C; 50.0 then
</strong><strong>            exports['vms_needs']:SetStatus('thirst', 250.0) -- 250.0 = half
</strong><strong>        end
</strong><strong>        
</strong><strong>        exports['vms_needs']:SetStatus('stress', 0.0)
</strong><strong>                
</strong><strong>        exports['vms_needs']:CleanupOptionalStatuses()
</strong><strong>    end
</strong>    -- =====================
end
</code></pre>
