Code After Sex
  • Introduction
  • Store
  • Discord
  • About PAID Scripts
    • 🆙PLEASE READ!
    • 📄RedM Script Documentation
      • Metabolism System
      • Animation Menu
      • Pausemenu Remake
        • Installation
        • Editable Files
        • Dependencies
      • New Player & Anti troll
      • Store & Shops
      • Tebex & VIP Shop
      • Multicharacter (Vorp)
      • Inventory
      • Wholesaler
      • Spawn System
      • Pause Menu
      • Dailygift
      • Loading Screen
      • Multicharacter (RSG, MBL)
      • CAS-Adminmenu V2
      • CAS-Multicharacter
      • RSG Multicharacter V2
      • CAS-Notification
      • Progressbar
      • Radial Menu
      • VORP Multicharacter (Tebex Integrated)
      • Vote Script
    • 📄FiveM Script Documentation
      • CAS-Dispatch
  • About FREE Scripts
    • FiveM Script Documentation
  • About CFX Auth System
    • CFX auth system
Powered by GitBook
On this page
  • About Script
  • Installation
  • Vorp Core Settings
  • Vorp Core Configuration
  1. About PAID Scripts
  2. RedM Script Documentation

Inventory

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

PreviousMulticharacter (Vorp)NextWholesaler

Last updated 3 months ago

Available framework is VORPCore.

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

  • 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

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

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

All Config values is same as standard vorp_inventory config.

https://github.com/MegaITA/mega_nplayerselector
https://github.com/VORPCORE/vorp_inventory-lua/blob/main/config/config.lua
📄
Page cover image