Skip to Content

What are you trying to do in FiveM?

Choose the task you want to finish, rather than guessing which API category contains the answer. These are independent FiveM Docs guides, not the official Cfx.re documentation. Each technical guide links its primary references where applicable.

I want to play or fix my client

Your questionStart here
How do I install FiveM and join a server?Client installation and first connection
Which GTA V edition should I use?Legacy versus Enhanced
FiveM crashes or one server will not load. What should I collect?Client diagnostics, F8, and crash reports
Why does a key work for someone else but not for me?Saved key bindings and conflicts

A player normally does not need a server license key, a database, or txAdmin. Start with the client path before changing server settings that do not apply to your situation.

I want to run a server

Your questionStart here
How do I create a working server?txAdmin quick start
Where do I get a server license key?License-key setup
Why can local players connect but remote players cannot?Server networking
How do I update without losing my server data?Artifacts and backups
How do I allow one command without giving full admin?Grant, test, and revoke ACE permissions
How do I approve players before they enter?Connection deferrals and allowlists
How do I diagnose a server startup failure?Common errors and checklists
Why are players or entities not synchronized?OneSync and network IDs
Where do I configure voice?Voice setup

I want to build or fix a resource

Your questionStart here
Which files belong in a resource?Manifest example and resource lifecycle
How do threads, Wait, and delayed callbacks work?Lua scheduling and async source
How do client and server scripts communicate?Events and exports
How do I stop clients from forging a privileged action?Server-validated network requests
How do I synchronize a small piece of state?State bags
Where do I save settings safely?Sandbox-safe resource storage
Where should persistent player data go?Database access
How do I build a menu and close it without trapping input?NUI basics and focus cleanup
How do I show a browser texture or real loading progress?DUI and loading screens
How do I let players rebind my controls?RegisterKeyMapping examples
Which function made my resource slow?Record and compare a profiler capture

The Lua examples identify the client/server context and include setup and failure tests. They are development starting points, not promises that a production economy, queue, or UI can be safely replaced without integration work.

I need assets, native functions, or another language

Use assets and streaming, World Editor, and FxDK for the asset and tooling workflow. For JavaScript and C#, start with the JavaScript first resource or C# first resource.

The native-function guide explains how to select the correct API context. The official native reference  remains the source for individual native signatures; do not assume every client native also works on the server.

Search with the symptom or function name

Use the site’s search with the exact error, native, or action, such as playerConnecting, loadFraction, SaveResourceFile, or permission denied. Copy an error without private identifiers or tokens. When asking for help, include what you expected, the first complete error, and a reproducible action; the diagnostics report template gives you the fields.

For a machine-readable directory, this project also serves /llms.txt, generated from the public documentation routes and their metadata. It is a discovery aid, not a substitute for reading the linked page or checking the cited upstream API contract.