DEVHUB DOCUMENTATION
Tebex StoreDevhub LIbDiscord Support
  • 🏠Home page
  • 🐌Download purchased assets
  • ⁉️Error: "You lack the required entitlement to use"
  • ⁉️Error: syntax error near '<\1>'
  • 💾Partnered FiveM Hosting
  • 💾SCRIPTS
    • 📗devhub_lib (NEEDED FOR EACH SCRIPT!)
      • 💻Installation
      • 2️⃣Migration from v1 to v2
      • ⚙️Framework
      • 🖐️Target
      • 🧭Ui
      • 🔑Vehicle Keys
      • ⛽Vehicle fuel
      • 🔊Sound System
      • 👕Clothing
      • ℹ️Logs
      • 📡SQL
      • 🎨UI Color Customization
      • 🆘Compatibility test
  • 🔧Car Tune
    • 💻Installation
    • 🛠️Configuration
    • 💾Saving Cartune Settings
  • 🚙Car Dancing
    • 💻Installation
    • 🛠️Configuration
      • Beat generating
  • 💪Skill Tree
    • 💻Installation
    • 🛠️Configuration
    • 🎫Development
      • Listeners
      • Exports
      • Example skill
      • Pre-made skills
    • ⚙️Skill Generator
    • 🎨UI Color Customization
    • ❔FAQ
  • ⛏️Miner Job
    • 💻Installation
    • 🛠️Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
    • 🎨UI Color Customization
  • 🪵Drywood Cutter Job
    • 💻Installation
    • 🛠️Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
      • zones.lua
    • 🎨UI Color Customization
  • 🌊Pool Cleaner Job
    • 💻Installation
    • 🛠️Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
      • zones.lua
    • 🎨UI Color Customization
  • 🌿[FREE] Herbal Alchemist Job
    • 💻Installation
    • 🛠️Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
    • 🎨UI Color Customization
  • 📱Who Am I?
    • 💻Installation
    • 🛠️Configuration
      • shared.lua
      • server.lua
    • 🎨UI Color Customization
  • 🎆Skill Selection
    • 💻Installation
    • 🛠️Configuration
    • 💪Skill Tree connection
    • 🎨UI Color Customization
  • 🍲3D CRAFTING TABLE
    • 💻Installation
    • 🛠️Configuration
    • ❓How to create table
    • 🌹Custom props
  • 🏋️Gym
    • 💻Installation
    • 🛠️Configuration
  • ♟️Props
    • 🖼️Paintings Pack
    • 🔪Kitchen Furniture Pack
Powered by GitBook
On this page
  • Main Ped Configuration
  • Selling Configuration
  • Clothing Configuration
  • Vehicle Configuration
  • Vehicle Spawn Points
  • Notification Types
  • HUD Placement
  • QuestsEnabled
  • Disable Option
  • Blip
  1. Pool Cleaner Job
  2. Configuration

client.lua

Documentation for client.lua Configuration

Main Ped Configuration

Config.MainPed = {
    model = "s_m_y_construct_02",
    coords = vec4(2832.3860, 2798.6382, 57.4497, 100.6738),
    sprite = 527,
    color = 5,
    scale = 0.8,
    name = "Pool Cleaner Job",
}
  • Model: Ped model used for the Miner NPC (s_m_y_construct_02).

  • Coordinates: Position of the NPC on the map.

  • Marker Details:

    • Sprite: 527

    • Color: 5

    • Scale: 0.8

  • Name: Displayed as "Pool Cleaner" when interacting.


Selling Configuration

Config.Selling = {
    coords = vec3(237.9128, -412.8228, 48.1119),
    sprite = 617,
    color = 5,
    scale = 0.8,
    name = "Selling",
}
  • Description: Defines the location and appearance of the selling point.

  • Coordinates

  • Marker Details:

    • Sprite: 617

    • Color: 5

    • Scale: 0.8

  • Name: Displayed as "Selling" when interacting.


Clothing Configuration

Config.Clothing = {
    ["mp_m_freemode_01"] = { 
        {
            img = "https://cfx-nui-dh_poolCleaner/html/host/jobCloth_m1.png",
            clothes = {
                torso = {65, 3},
                tshirt = { 155, 0 },
                pants = { 38, 3 },
                boots = { 27, 0 },
                gloves = { 64, 0 },
                hat = { 144, 3 },
            }
        },
        -- Additional outfits here...
    }
}
  • Description: Allows customization of up to 3 clothing sets per gender.

  • Images: Displays clothing preview in the menu.

  • Clothes Data: Defines the clothing parts (e.g., torso, t-shirt, pants).


Vehicle Configuration

Config.Vehicles = {
    --{ -- use it if you want to disable vehicle
    --    model = "none",
    --    price = 0,
    --    img = "https://cfx-nui-dh_poolCleaner/html/host/none.png",
    --},
    {
        model = "bodhi2",
        price = 100,
        img = "https://cfx-nui-dh_poolCleaner/html/host/bodhi2.png",
    },
    {
        model = "sandking",
        price = 300,
        img = "https://cfx-nui-dh_poolCleaner/html/host/sandking.png",
    },
}

If you want to turn off the work vehicle, use the example at the very top

  • Description: Configures available rental vehicles.

  • Model: Vehicle model name.

  • Price: Cost of renting the vehicle.

  • Image: URL for the vehicle image displayed in the menu.


Vehicle Spawn Points

Config.VehiclesSpawnPoints = {
    vec4(853.3035, -895.6031, 25.3173, 282.2404),
}
  • Description: Specifies the spawn locations for rented vehicles.

  • Coordinates: Each vec4 includes X, Y, Z position, and heading.


Notification Types

Config.NotificationsTypes = {
    ["info"] = "https://cfx-nui-dh_poolCleaner/html/host/info.png",
    ["success"] = "https://cfx-nui-dh_poolCleaner/html/host/success.png",
    ["error"] = "https://cfx-nui-dh_poolCleaner/html/host/error.png",
}
  • Description: Custom icons for different types of notifications.

  • Types: info, success, error


HUD Placement

Config.HudPlacement = "bottom-right"
Config.ControlButtonsPosition = "top-left"
  • Description: Sets the position of the HUD on the screen.

  • Options: "bottom-left", "bottom-right", "top-right", "top-left"


QuestsEnabled

Config.QuestsEnabled = true

Disable Option

Disable task notification, task + 1 will not be shown on the screen if set to true

Disable help controls, help controls will not be shown on the screen if set to true

Config.DisableTaskNotification = false 
Config.DisableHelpControls = false 

Blip

Config.PoolBlip = {
    sprite = 836,
    color = 5,
    scale = 0.8,
    name = "Tree",
}
PreviousConfigurationNextshared.lua

Last updated 1 month ago

🌊
🛠️