🛠ī¸Installation

RxZ_DeathSystem

Welcome to our RxZ_DeathSystem installation page. Here you can find the dependencies you need, instructions on how to start RxZ_DeathSystem, and Frequently Asked Questions(FAQ). If you still can't install the script or encounter any errors, don't hesitate to create a ticket in our discord.

Install dependencies

Make sure you have installed all the dependencies. Without these scripts the RxZ_DeathSystem script will not work properly.

You can find out which frameworks we support here

Ensuring scripts

To make sure RxZ_DeathSystem works properly we need to make sure all scripts start in the right order in your server.cfg. Below you can find an example of how it can look like:

You can also create a folder called [rx] in your resource folder. If you have multiple scripts from us, you don't need to add them all to your server.cfg one by one. :)

-- After oxmysql, start your framework
ensure es_extended or qb-core

-- start ox_lib
ensure ox_lib

-- if you use ox_target or qb-target
ensure ox_target or qb-target

-- start you inventory
ensure your_inventory

-- And now we can start the drugslab
ensure RxZ_DeathSystem or [rx]

HRS Base Building Compatibility

  1. Search for your getBed() function, and paste the function below, under the getBed() function.

function getBeds()
    local beds = {}
    
    for k,v  in pairs(props) do
        if Config.Models[v.hash].type == "beds" then 
            if v.identifier == identifier then
                beds[#beds+1] = {
                    coords = v.coords,
                    heading = v.heading,
                    bedKey = v.id..'_'..v.hash
                }
            end
        end
    end
    
    return beds
end
exports('getBeds', getBeds)
  1. Go to our script, client/opensource.lua and replace the line below

lib.callback.await('ds:fetchBeds', false, false)

with this line, make sure hrs_base_building is the name of the script

exports.hrs_base_building:getBeds()

FAQ

Last updated