Verse
Discord ServerTebex StoreWebsite
  • Home
  • Discord server
  • 🚑Ambulance Job
    • 🧠Configuration
    • 📚Guides
      • Adding a custom dispatch
    • ⁉️Common Errors
    • 🐌For Developers
      • Client Events
  • 💽Modular Website
    • ➕Installation
  • 👮Police Complaint
    • 🔌Adding Departments
    • 👀Examples
  • 📣Announcement
    • 🧠Installation
    • 👀Command examples
    • ⚡Events
  • 📕Exams
    • Functions
Powered by GitBook
On this page
  • Attempt to index a nil value (upvalue '?') or attempt to index a nil value (global 'ESX')
  • Attempt to call a nil value (field 'StartMenu')
  • Still experiencing issues? Join our Discord server
  1. Ambulance Job

Common Errors

PreviousAdding a custom dispatchNextFor Developers

Last updated 10 months ago

Attempt to index a nil value (upvalue '?') or attempt to index a nil value (global 'ESX')

Make sure you set your config correctly.

-- This is right
Config.Framework = "esx" -- if using ESX
Config.Framework = "qb" -- if using QBCore

-- this is WRONG
Config.Framework = esx
Config.Framework = " esx"
Config.Framework = "ESX"

If you are using the esx framework, do not forget to uncomment the esx import in the fxmanifest.lua


Attempt to call a nil value (field 'StartMenu')

Check if is correctly installed. If you are unsure, install it again from

If you are still experiencing issues, make sure ox_lib is started before our script


Still experiencing issues? Join our

🚑
⁉️
Discord server
ox_lib
this link
Cover

Join our discord server

Cover

Check out our Tebex store