T1GER Scripts Documentation
Tebex StoreDiscordYouTubeCFX Forum
  • T1GER Scripts Documentation
  • Quick Links
    • t1ger.net | Shop Now
    • Join Discord
  • Information
    • FiveM Asset Escrow
  • Resources
    • T1GER Mechanic
      • Installation
        • Job Account
          • Setup
          • API
      • Configuration
        • Shop
      • API
        • Exports
        • Events
      • Troubleshoot
    • T1GER Library
      • Installation
        • Inventory
        • Target
        • Garage
        • Society Account
        • Vehicle Properties
      • Configuration
    • T1GER Gang System
      • Installation
      • Gang Garages
      • Product Information
    • T1GER Tuning System
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Commands
        • Shops
        • Markers
        • Mod Stations
        • Pricing
        • Mod Orders
        • Vehicle Mods
        • Engine Swaps
        • Nitrous
    • T1GER ATM Robbery
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Hacking Minigame
        • Dispatch
    • T1GER Dealerships
  • Free Resources
    • T1GER Keys
    • T1GER Garage
    • T1GER Bank Robbery
    • T1GER Tow Trucker
Powered by GitBook
On this page
  • README
  • Failed to insert job
  • Q/A
  1. Resources
  2. T1GER Tuning System
  3. Troubleshoot

Common Issues

In this section, you'll find a list of frequently encountered issues, along with detailed solutions and troubleshooting steps.

PreviousTroubleshootNextError Codes

Last updated 3 months ago

README

Before we proceed, please ensure the following:

  1. You have followed Installation correctly and every steps.

  2. You have not touched nor edited files, except for shared/ files.

  3. You have not made any custom changes.

Failed to insert job

If you are getting this message in the console, like this:

  1. go to es_extended/server/modules/createJob.lua

  2. find the function called ESX.CreateJob

  3. replace the function with this code:

--- Create Job at Runtime
--- @param name string
--- @param label string
--- @param grades table
function ESX.CreateJob(name, label, grades)
    if not name then
        return print('[^3WARNING^7] missing argument `name(string)` while creating a job')
    end

    if not label then
        return print('[^3WARNING^7] missing argument `label(string)` while creating a job')
    end

    if not grades or not next(grades) then
        return print('[^3WARNING^7] missing argument `grades(table)` while creating a job!')
    end

    local parameters = {}
    local job = { name = name, label = label, grades = {} }

    for _, v in pairs(grades) do
        job.grades[tostring(v.grade)] = { job_name = name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = v.skin_male or '{}', skin_female = v.skin_female or '{}' }
        parameters[#parameters + 1] = { name, v.grade, v.name, v.label, v.salary, v.skin_male or '{}', v.skin_female or '{}'}
    end

    MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', { name, label })
    MySQL.prepare('INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES (?, ?, ?, ?, ?, ?, ?)', parameters)

    ESX.Jobs[name] = job
end

Q/A

asdasd

QB Inventory Inventory not opening with qb-inventory

Download latest qb-inventory. If you don't want to update, then navigate to t1ger_lib/framework.lua and find the OpenStash function. In here you want to comment out the triggerserverevent for the qb inventory and enable the commented out code.

No such export GetSharedAccount in ESX Addon Account You are getting an error with no such export GetSharedAccount in resource esx_addonaccount

All you need to do is update your esx_addonaccount to the latest:

❓
✔️
❓
✔️
https://github.com/esx-framework/esx_addonaccount