polisek / pls_jobsystem

Job system for creating production tables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

job_system

📙 Job system v1.0.5

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.

Update 26.2.2024

  • Item filter

Update 9.3.2024

  • You can create backups and the backup can be restored in game.
  • For each item you can add a custom animation for crafting.
  • Added bossmenu - Configurable export in config.lua
  • You can create peds with custom animations.
  • You can create stashes ( For everyone or just employees. ) (quasar_inventory, ox_inventory only)

Preview

https://youtu.be/BK9EfBzi-Eg

New preview https://www.youtube.com/watch?v=id_kd4f8_DU&t=3s

Join my discord or check my store

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

Store: https://store.polisek.io

Web: https://polisek.io

About

Job system for creating production tables.

License:MIT License


Languages

Language:Lua 100.0%