> For the complete documentation index, see [llms.txt](https://docs.frozen-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frozen-scripts.com/scripts/frozen-medic-job/customizations.md).

# Customizations

<details>

<summary>Inventory Compatibility(Specifically removal of items on death)</summary>

* Navigate to **`frozen_ambulance/server/sv_customize.lua`**
* Find: `RegisterServerEvent('frozen_ambulance:removeItemsOnDeath'`

</details>

<details>

<summary>Stealing from dead players (ox_inventory)</summary>

* Navigate to `ox_inventory/client.lua`
* Find:

```
local function canOpenTarget(ped)
    return IsPedFatallyInjured(ped)
    or IsEntityPlayingAnim(ped, 'dead', 'dead_a', 3)
    or IsPedCuffed(ped)
    or IsEntityPlayingAnim(ped, 'mp_arresting', 'idle', 3)
    or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_base', 3)
    or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_enter', 3)
    or IsEntityPlayingAnim(ped, 'random@mugging3', 'handsup_standing_base', 3)
end
```

* Replace with:&#x20;

```
local function canOpenTarget(ped)
	return IsPedFatallyInjured(ped)
	or IsEntityPlayingAnim(ped, 'dead', 'dead_a', 3)
	or IsEntityPlayingAnim(ped, 'mini@cpr@char_b@cpr_def', 'cpr_pumpchest_idle', 3)
	or IsPedCuffed(ped, 120, true)
	or IsEntityPlayingAnim(ped, 'mp_arresting', 'idle', 3)
	or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_base', 3)
	or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_enter', 3)
	or IsEntityPlayingAnim(ped, 'mp_am_hold_up', 'handsup_base', 49)
	or IsEntityPlayingAnim(ped, 'random@mugging3', 'handsup_standing_base', 3)
end
```

</details>
