⚙️Configuration

Below is a table summarizing the key settings in RS = {}. Afterward, you’ll see a snippet of the config for reference.

Parameter
Description
Example Value

RS.Framework

Determines which framework to use (auto, esx, qb).

"auto"

RS.Language

Selects the default language for messages (en, de, fr, sp).

"en"

RS.Item

The item name representing the blindfold (used in inventory systems).

"blindfold"

RS.ScissorsItem

The item name representing scissors to remove the blindfold.

"scissors"

RS.RemoveBlindfoldAfterUs

If true, the blindfold item is consumed after being used on a player.

false

RS.RemoveScissorsAfterUse

If true, the scissors item is consumed after removing a blindfold.

false

RS = {}

RS.Framework = "auto"
RS.Language = "en"
RS.Item = "blindfold"
RS.ScissorsItem = "scissors"

RS.RemoveBlindfoldAfterUse = false
RS.RemoveScissorsAfterUse = false

RS.Locales = {
    ["en"] = {
        warning = "There are no players nearby!",
        remove = "You successfully removed!",
        auto = "Blindfold automatically removed!",
        success = "Blindfold has been successfully covered for you",
        using = 'You are using a blindfold...',
        using1 = 'You are using scissors...'
    },
    -- Additional translations ...
}

function getFramework()
    -- Auto-detection logic for ESX/QB
end

Last updated