Future Studios
  • Future Studios
  • Store
  • Discord
  • Youtube
  • Our Resources
    • 🚁Drone System
      • Installation
      • Configuration
      • Integration
      • FAQ
    • 🔨Fun Punishment System
      • Installation
      • Configuration
      • FAQ
    • 🏍️Bike Stunts
      • Installation
      • Configuration
    • 🐟Animal Swim
      • Installation
      • Configuration
Powered by GitBook
On this page
  1. Our Resources
  2. Fun Punishment System

Configuration

This page explains all available configuration options for the resource, allowing you to customize its behavior, features, and framework compatibility.

config.lua
Config = {}
Config.Debug = false
Config.Framework = "ESX"
Config.UseTarget = true t)
Config.TargetOptionsColor = "red"
Config.InteriorOnly = false
Config.BlockRoads = true
Config.ChairItem = "torturechair"

Config.BlockRagdoll = true

Config.DamageOnTorture = 19

Config.PlaceAnimation = true
Config.PlaceSound = true

Config.Menu = 'ox-default'
Config.MenuPosition = 'top-left'

Config.Lang = {
    -- ...
}
  • Debug - Toggle the debug option, enabling useful prints.

  • Framework - The framework your server uses. "ESX" / "QBCore"

  • UseTarget - Whether to use a target system (ox_target / qb-target).

  • TargetOptionsColor - The colour of the options in the ox menu.

  • InteriorOnly - Whether chairs can be placed only inside interiors.

  • BlockRoads - Whether chairs cannot be placed on roads.

  • ChairItem - The name of the chair item, used by the inventory.

  • BlockRagdoll - Blocks ragdolls while a player is on the chair (disabling can cause animation bugs).

  • DamageOnTorture - The amount of damage each torture action will deal.

  • PlaceAnimation - Whether to play an animation when placing/picking up the chair.

  • PlaceSound - Whether to play a sound when placing/picking up the chair.

  • Menu - The ox menu type to use for the action selection. "ox-default" / "ox-context"

  • MenuPosition - The position of the ox menu. 'top-left' / 'top-right' / 'bottom-left' / 'bottom-right'

  • Lang - A list of strings that can be translated.

PreviousInstallationNextFAQ

Last updated 2 months ago

🔨