Configuration
🧠 Overview
The configuration table (CFG
) is used to manage job listings, positions, and general framework compatibility for the job application system.
⚙️ Base Configuration
CORE
CORE
Defines which framework is used for job handling.
Supports:
ESX
,QBX
,QB
, andCUSTOM
.
📌 Job Entry Structure
Each job entry inside CFG.jobs
follows a defined schema:
🔧 Field Descriptions
job
string
Internal job name used by the framework
grade
number
Grade level within the job
pos
vector2
2D Position where the job is listed or applied
title
string
Display title for the job
department
string
Department the job belongs to
type
string
Job type (e.g., Full-Time, Part-Time)
salary
string
Salary range or details
location
string
Physical or in-world location
postedDays
number
How many days ago the job was posted
description
string
Description of job duties and responsibilities
requirements
table
List of requirements
benefits
table
List of benefits
gps
boolean
Whether GPS routing is available
apply
boolean
Whether users can apply for this job
apply_action
function
(Optional) Override method for custom job application behavior (server-side)
🗺️ Interaction Positions
These are the world positions where players can interact with the job system.
Each vector4
contains:
x, y, z coordinates
heading (rotation angle)
These positions can be used for rendering interaction zones (e.g., text prompts, 3D markers).
➕ Adding More Jobs
To add another job, simply append a new table to the CFG.jobs
array:
🧩 Extending Logic (Server-Side)
If a job needs custom apply logic, you can override the default by using apply_action
.
by using the apply_action how can hadle yourself the action of the player for example aplication system
Example:
Last updated