W-DevelopmentW-Development
Getting started Updated 8 min read

Where to learn FiveM development

The resources FiveM developers actually use: Cfx.re docs and natives, the forum, framework docs, the Lua 5.4 manual and open-source code on GitHub.

Overview

FiveM knowledge is scattered across official docs, framework sites, forum threads and a lot of outdated video tutorials. Knowing which sources to trust — and in which order to use them — saves beginners weeks of copying code that no longer works.

Official Cfx.re sources

ResourceUse it for
docs.fivem.net/docsScripting and server manuals, runtimes, resource manifest
docs.fivem.net/nativesEvery native with parameters and notes
forum.cfx.reReleases, help threads, announcements

Lua itself

FiveM uses a modified Lua 5.4. The official Lua 5.4 reference manual (lua.org/manual/5.4) and the book Programming in Lua (lua.org/pil) teach the language properly; our Lua basics and Lua tables guides cover the FiveM-specific parts.

Framework documentation

Framework / libraryDocs
ESX Legacydocs.esx-framework.org
QBCoredocs.qbcore.org
Qboxdocs.qbox.re
ox_lib, ox_inventory, ox_target, oxmysql, ox_coreoverextended.dev

Framework comparisons: ESX vs QBCore vs Qbox.

Reading real code

The fastest way to learn patterns is reading code that many servers run: ox_lib, ox_inventory, qbx_core and the framework repositories on GitHub. Look at how they validate events, structure configs and clean up — then compare with our code review checklist.

Learning efficiently

  1. 1Build tiny resources that do one thing — see your first script.
  2. 2Read the native’s documentation before copying code that uses it.
  3. 3Check the date on tutorials; prefer current framework versions.
  4. 4Follow a staged plan — see the developer roadmap.

Frequently asked questions

Where is the official FiveM documentation?

At docs.fivem.net, with the natives reference at docs.fivem.net/natives.

Where can I learn Lua for FiveM?

The Lua 5.4 manual and Programming in Lua for the language, plus FiveM-specific guides for natives, events and resources.

Where are the ox_lib docs?

At overextended.dev, together with ox_inventory, ox_target, oxmysql and ox_core.

Are YouTube tutorials reliable?

Some are, but many are outdated. Check the date and compare with official and framework docs.

Need this built, not just explained?

Premium ESX, QBCore & Qbox scripts with instant delivery — or a custom resource, React NUI and the web stack around your server, built to spec.

Related guides