Skip to main content
TRACK B·DEVELOPER SETUP·Verified June 2026 · Lua 5.4 · ox_lib 3.x
Learning with an AI assistant?
Copies this lesson plus 2026 ground rules (no lua54 'yes', Cfx.re Portal, correct callback signatures) as a ready-to-paste mentor prompt.
Module B0 · Start here

Start here: building FiveM scripts

If you want to build FiveM scripts, whether for your own server or to sell on Tebex, this is the path. It starts at your very first line of Lua and ends with a resource you can ship, support, and get paid for. You will write code in every module. The goal is not to memorize natives; it is to think like a developer.

This track is for
Anyone who wants to write FiveM scripts, for their own server or to sell. You will write real Lua, from your first line to a resource you can ship.
Time
~6 minutes to read, then follow the path
You need
A computer, VS Code, and a local FiveM server you can restart. The Lua comes as you go; you do not need it yet.
You'll learn
What a FiveM script actually is -> the path from your first line of Lua to a sellable resource -> and where each skill lives in this track.
BEFORE YOU START

What a developer actually does

A server owner installs scripts other people made. A developer makes them. That is this track. As a developer you:

  • Write Lua that runs on the client, the server, or both.
  • Call FiveM natives (the game's built-in functions) and framework APIs (QBCore, ESX, Qbox).
  • Store data in a database and send messages between client and server safely.
  • Build a resource, test it, harden it against cheaters, and package it to sell.

You do not need to already know how a server is run end to end. If you want the operator side (installing, hosting, managing), that is the server-owner track, and it is separate.

Keep reading the full lesson

Sign in to start, then unlock every step of this lesson and the full FiveM School with a membership.

Still ahead in this lesson
  • The two-world rule
  • The path, in order
  • How to use this track
  • Start now

The remainder of Start here: building FiveM scripts is available to FiveM School members.