/pls_jobsystem

Job system for creating production tables.

Primary LanguageLuaMIT LicenseMIT

job_system

📙 Job system v1.0.2

Job system for creating production tables.

Dependencies

Supports

Frameworks: ESX / QB / OX

Inventory: ox_inventory, qb_inventory, quasar_inventory.

Targets: ox_target, qb-target

Don't want to use target?

BRIDGE/config.lua

BRIDGE.UseMarkers = false

Commands

/createjob - This will start to create a new job. /open_jobs - Opens the menu of all jobs.

Configuration

All framework, inventory and target setup in BRIDGE/config.lua.

Directory to your inventory images

Config.DirectoryToInventoryImages = "nui://ox_inventory/web/images/"

Blacklisted strings / Filter

Config.BlacklistedStrings = {
    "weapon", "weed", "meth","coke", "ammo", "gun", "pistol", "drug", "c4", "WEAPON", "AMMO", "at_", "keycard", "gun", "money", "black_money"
}

Crafting animation

Config.DEFAULT_ANIM = "hack_loop"
Config.DEFAULT_ANIM_DIC = "mp_prison_break"

Dispatch

function SendDispatch(coords, jobLabel)
        -- YOU DISPATCH
        -- cache.ped
        print(coords)
        print(jobLabel)
end

Questions

Do I need to create a job in the database or in the framework?: Yes, this script will not create anything in your db, but you can customize it.

Features and updates

Update 25.2.2024

  • You can create an alarm
  • You can create a cash register.

Preview

https://youtu.be/BK9EfBzi-Eg

Join my discord or check my store

Discord:https://discord.com/invite/HyNKsABYrb

Store: https://store.polisek.io

Web: https://polisek.io