PataMods Documentation
  • Welcome to PataMods Doc !
    • 1️⃣First step
    • 💬Social Medias
    • ❗・Common errors・❗
  • 📖Scripts
    • 🛒SuperMarket
      • 1・Dependencies
      • 2・Installation
      • 3・Config
      • 4・Advanced configuration / Custom Framework
      • 5・How the SuperMarket Script works INGAME ? - ❗ HELP VIDEOS ❗
    • 🔫PlasmaGame (And Capture The Orb DLC)
      • 1・Installation & Dependecies
      • 2・Config
      • 3・Advanced configuration
      • 4・Common errors + About Guns
    • 🏎️PlasmaKart
      • 1・Installation & Dependecies
      • 2・Config
      • 3・Common errors
    • ✈️Airplane Script
      • 1・Dependencies
      • 2・Installation
      • 3・Config
      • 4・Advanced Configuration
      • 5・How to add point on UI map ?
      • 6・❗ About BUGS ❗ Airplane flying in circle, Airplane/ped didn't spawn etc
    • 🛼Roller & Ice Script
      • 1・Installation
      • 2・Config
    • 🍼Baby BEAR Script v2
      • 0・About FiveM's ToS
      • 1・Installation & Dependecies
      • 2・How it works + Baby Nursery/toddler props
    • 🌊Hottub Script
      • 1・Dependencies
      • 2・Installation
      • 3・Config
    • 📦Props/shells config for Housing Scripts
    • 🔃 Subscription
      • 1・Wedding Clothes package
      • 2・Screenshots & video texture
  • 🛠️Website in construction...
    • 🛵PlasmaTron
    • 🚗Rc Car Script
  • Tebex Store
Powered by GitBook
On this page
  1. Scripts
  2. Hottub Script

3・Config

Previous2・InstallationNextProps/shells config for Housing Scripts

Last updated 8 months ago

All are fully explained directly in our config file. But you can check this channel to see what's you have in it.

If you have any trouble and need any support, please turn the DEBUG to true line 1 :

DEBUG = true
ENABLECOMMAND = false

After that, open a ticket on our discord to get support.

  • First of all, define your language line 11

You have only a English and French version. but you can add your language just bellow. Follow the same patern as previously.

DEBUG = true
ENABLECOMMAND = false

aff = print
function print(text)
	if DEBUG then
		aff(text)
	end
end

Lang = "FR"
TradLang = {}

TradLang["EN"] = {
	["OnOff"] = "[E] Turn On/Off",
	["OnOffDelete"] = "[E] Turn On/Off - [G] Delete",
}

TradLang["FR"] = {
	["OnOff"] = "[E] Allumer/Eteindre",
	["OnOffDelete"] = "[E] Allumer/Eteindre - [G] Supprimer",
}

  • In line 24/25, you can change the key to open the menu.

--Open Menu key
openMenu = 38 --E key

  • If you get the script with the garden props, disable CanDelete by turning it to false in line28. Do not change anything if you get the script Standalone.

  • You can change the delete Key too.

  • Do not touch the detection range.

--Enable the delete function on tube
CanDelete = false
deleteKey = 47 --G key

--Tube detection range
detectionRange = 4.0

  • Line34, If you want to use our detection system (our menu), let this one to true. But if you are a developer and want to add your system, turn this by false.DOT NOT TOUCH THIS IF YOU DON'T KNOW WHAT YOU DO.

  • Don't touch line 39/40

--Disable the built in detection function for tube, so you can use your own detection system
UseOwnDetectionSystem = true



--This is the header of all events, so you can copy paste this script with different identifier
scriptIdentifier = "Pata_Tub"

📖
🌊
:1arrowpink:
Page cover image