PlayDeck
Home / Course
The PlayDeck Course

Learn to build GTA roleplay scripts with AI

An original, ground-up course: Lua, your first resource, frameworks, the modern ox stack, NUI, debugging, performance, and security — taught with AI the right way, and a browser sandbox to test every lesson without booting the game.

What this is: an online coding course. You learn the Lua programming language and real software-development skills — debugging, databases, UIs, performance, and security — through original written lessons and a browser code sandbox you run in the page. Lessons marked Free preview are open to read now; full access is for members. PlayDeck does not sell game files, mods, or copyrighted assets.

The gaps we teach better than anyone

Config-editor → real developer
The community splits into config-editors and real devs, with no bridge. This is the flagship path.
Debugging done right
The official debugging page is a stub and everyone scatter-prints. We teach it early.
Modern ox-first stack
Most tutorials are stale ESX. We teach the current ox_lib / ox_inventory / Qbox stack.
AI-assisted scripting, correctly
AI invents fake natives, mixes frameworks, trusts the client. We teach AI done right, with security.
NUI for non-web-devs
Most NUI tutorials assume web dev. We teach the Lua↔browser bridge from zero.
Open and anti-gatekeeping
Beginners get roasted and paid scripts are locked. Being genuinely welcoming is the position.

Track A — Build

From "I can edit a config" to writing real, working resources.

Module 0Environment & Your First Server Free preview
Install FXServer, deploy with txAdmin, set up VS Code + Lua.
Module 1Lua Fundamentals for Non-Coders Free preview
Variables, tables, functions, control flow, scope — Lua 5.4.
Module 2Your First Resource Free preview
fxmanifest.lua, folder structure, a hello-world print, start/restart.
Module 3Natives & the Client/Server Split Members
Reading the native reference, what runs where, and the trust boundary.
Module 4Events & Callbacks Members
RegisterNetEvent, triggering across the boundary, lib.callback, never trust the client.
Module 5Debugging FiveM — Read the Error, Fix the Bug Free preview
F8 vs server console, reading stack traces, the missing-comma class of bugs.
Module 6Persistence with oxmysql Members
Database setup, async queries, save/load.
Module 7Config & Permissions Members
Config tables (comma discipline) and ACE permissions/principals.
Module 8NUI for People Who Do Not Know Web Dev Members
HTML/CSS/JS crash course → SendNUIMessage, RegisterNUICallback/fetch, SetNuiFocus.
Module 9Frameworks: ESX, QBCore, Qbox Members
What ESX/QBCore/Qbox give you; pick one; the player/job/money API.
Module 10The Modern ox Stack Members
ox_lib helpers, ox_target interactions, ox_inventory — and correct start order.
Module 11Performance & Security Members
Profiler + resmon, killing per-frame work, server-side validation, the 0–4 ms target.
Module 12Capstone: Build a Complete Resource Members
One polished resource: database + framework + ox + NUI, optimized and secured.
Module 13Package & Ship Your Resource Members
Asset Escrow, Keymaster, Tebex + the Cfx Marketplace — compliance-first.

Track B — Earn

The legitimate ways FiveM developers earn — taught compliantly (Tebex / Cfx Marketplace, no pay-to-win).

Lesson 1The Money Map + Compliance Foundation Free preview
The five paths plus the non-negotiable Cfx.re rules, front-loaded.
Lesson 2Earning From a Server, Compliantly Members
Compliant perks (queue, cosmetics, roles), Tebex setup, and that it is taxable income.
Lesson 3Freelance FiveM Development Members
Turn skill into income now: the skill stack, platforms, and a portfolio.
Lesson 4Productized Setup Services Members
Package freelance work into fixed tiers; pricing and channels.
Lesson 5Earning From Your Scripts (Compliantly) Members
Asset Escrow deep-dive, packaging, subscription libraries, what is in demand.
Lesson 6Build a Creator/Dev Brand Members
Discord, YouTube showcases, free resources as lead magnets, reputation as the moat.
Lesson 7Capstone: Your 30-Day Pick-a-Path Plan Members
One path, executed in 30 days, with a built-in compliance checklist.

Learn it by building it

PlayDeck is an original course on building GTA roleplay scripts with AI — Lua, frameworks, NUI, debugging, and a browser sandbox to test every lesson without booting the game.

Browse the course