Compatible: Standalone
Other Scripts:
- [Standalone] Damage Indicator: [Standalone] Damage Indicator
- [Standalone] Auto Vehicle Deleter [Standalone] Auto Vehicle Deleter
- [ESX | QB-Core] Petshop: [ESX | QB-Core] Petshop
- [ESX | QB-Core] Motel System: [ESX | QB-Core] Motel System
- [ESX | QB-Core] Elevator System: [ESX | QB] Elevator System
- [ESX | QB-Core] Vip System: [ ESX | QBCore ] Vip System
- [ESX | QB-Core | QBX-Core] Company Blips: [ ESX | QBCore | QBX-Core ] Company Blips
- [ESX | QB-Core] Underwater Treasure Hunt System: [ ESX | QBCore] Underwater Treasure Hunt System
Config File
Config = {}
---@class Config
---@field CustomInventory boolean: Set this to true if you are using the inventory function in the open.lua file in server side
---@field rate integer: this changes the rate of exchange [3 = 3 black economy will be converted to 1 white economy]
---@field timer integer: the time in minutes the user has to wait , for them to claim their money
---@field jobRate integer: This changes the rate of exchange for the commision of the store society , this means that if the parameter is set to a default of 5 , the store account will get the one fifth (1/5) of the amount that is being washed !
---@field blackEconomy string: the name of the item that you want the user to give in to be laudered
---@field whiteEconomy string: the name of the item you want to reward the player when the laudering is finished
---@field InputType string: wether the ox_lib input should be a numerical input or a slider with steps divided based on the prices.step value
Config.CustomInventory = false
Config.Model = {
model = "bkr_prop_prtmachine_dryer",
modelActive = "bkr_prop_prtmachine_dryer_spin",
locations = {
{coords = vec4(-576.62, 286.94, 79.18, 258.60), job = 'club1'},
{coords = vec4(-825.58, -690.0, 127.39, 270.0), job = 'club2' },
{coords = vec4(-2956.69, 30.04, 11.61, 154.05), job = 'club3'},
}
}
Config.rate = 3
Config.timer = 1 -- in minutes
Config.jobRate = 5
Config.blackEconomy = 'black_money'
Config.whiteEconomy = 'money'
Config.InputType = 'number' -- [ number / slider ]
Config.prices = {
min = 100000,
step = 200000,
max = 500000
}
Config.IsItemLaunderEnabled = true --> If disabled the item launder option will not exist!!
Config.ItemLaunderWaitTime = 1000 * 5 --> The Base time that the player has to wait for the items to be done!!
Config.ItemsLaunder = {
["water"] = { Label = "Water", Price = { Min = 100, Max = 500 }, WaitTimeMulti = 1.2 },
["bread"] = { Label = "Bread", Price = { Min = 100, Max = 500 }, WaitTimeMulti = 1.2 }
}
Readme File
Guidance Memo
Hello,
This is just a small memo for your guidance.
- This script requires you to fill the functions inside
open.lua
in the server file. - And
open.lua
in the client - You can also configure the general behavior of the script in
main.lua
andmessages.lua
in the shared folder.
Code is accessible | Yes(Config) |
Subscription-based | No |
Lines (approximately) | 200+ |
Requirements | ox_lib, ox_target |
Support | Yes |