---
description: Here you can find the installation for cas-redm-inventory script.
---

# Inventory

{% hint style="success" %}
Available framework is VORPCore.
{% endhint %}

##

## About Script

This inventory system is specifically designed for the RedM platform, allowing players to efficiently manage in-game items in an organized manner. It features an intuitive interface that enables quick access and actions.

## Installation

* [https://github.com/MegaITA/mega\_nplayerselector](https://github.com/MegaITA/mega_nplayerselector) download and start it before vorp\_inventory. (need for give item function)

### Vorp Core Settings

* Remove the vorp\_inventory file you have and install the file you purchased from us.
* Do not change the inventory folder name "it must be vorp\_inventory".
* Open vorp\_metabolism/client/main.lua file and add the code I shared below at the bottom of the page.

#### If you have vorp\_metabolism : Vorp Metabolism /client/main.lua

```lua
exports('GetPlayerStatus', function()
    local player = PlayerPedId()
    local pedCoords = GetEntityCoords(PlayerPedId())
    temperature = math.floor(GetTemperatureAtCoords(pedCoords)) .. "°C" --Uncomment for celcius
    return {
        thirst = (tonumber(PlayerStatus["Thirst"]) / 10) or 0,
        hunger = (tonumber(PlayerStatus["Hunger"]) / 10) or 0,
        health = (tonumber(GetEntityHealth(PlayerPedId())) / 600) * 100,
        temperature = temperature
    }
end)
```

#### If you have outsider needs : Outsider\_needs/custom\_client.lua

```lua
exports('GetPlayerStatus', function() 
    local player = PlayerPedId()
    local pCoords = GetEntityCoords(player)
    local temperature = math.floor(GetTemperatureAtCoords(pCoords))
    return {
        hunger = GetCurrentHunger(),
        thirst = GetCurrentThirst(),
        temperature = temperature,
        health = (tonumber(GetEntityHealth(player)) / 600) * 100,
    } 
end)
```

####

And you are ready!

### Vorp Core Configuration

{% hint style="info" %}
All Config values is same as standard vorp\_inventory config.&#x20;

[https://github.com/VORPCORE/vorp\_inventory-lua/blob/main/config/config.lua](https://github.com/VORPCORE/vorp_inventory-lua/blob/main/config/config.lua)
{% endhint %}

