Page cover

⚙️Configuration

Here’s everything you can customize in the NFS Jobs script. Most settings are in data/config.lua, and location settings are in data/locations.lua.

📝Main Settings (config.lua)

🔁 Interaction Mode

Choose how players access the jobs menu:

interactionMode = "ped" -- Options: "marker", "keybind", "ped", "command"
  • marker: Uses 3D marker with E key

  • keybind: Uses a key (default: G)

  • ped: Spawns an NPC with target system

  • command: Players use /jobs in chat


⌨️ Keybind (if using keybind)

keybind = {
  name = 'jobs',
  description = 'Press G to open jobs menu',
  defaultKey = 'G',
}

💬 Command (if using command)


📱 Phone System

Supports: lb-phone, qb-phone, qs-smartphone-pro, gksphone,okokPhone

📱 Custom Phone Call Function

Located inside config.lua > phone.startCall

📞Supported Phone Systems

  • GKS Phone

  • LB Phone

  • okokPhone

  • QS-Smartphone

  • qb-phone

You can add support for other phone systems or customize behaviors by editing this function directly.


🎯 Target System (for ped mode)

Supports: ox_target, qb-target, qtarget

🎯 Custom Target System Function

Located inside config.lua > target.addTarget

Want to use a custom target system or extend functionality? Just add a new elseif block inside this function.


🛠️ Job Creation Access

Control who can post public jobs:


👮 Public Job Management

Allows specific jobs to manage all public jobs:


📂 Job Categories / Types / Yellow Pages

You can fully customize job categories, job types, and yellow page services. Example:


🗺️ Location Setup (locations.lua)

Set where players can access the jobs menu.

Example:

You can duplicate this entry to add more job center locations.

Last updated