Want to create a FiveM script but don’t know Lua? In the ZapX Maker, describe your idea in everyday language, and an AI chat turns it into a complete resource—without you writing any code. This guide takes you from your initial idea to an entry in server.cfg.
- The ZapX Maker is an AI chat that turns your description into a FiveM resource in Lua for ESX, QBCore, Qbox, or no framework.
- You can try it for free without an account, with a limited number of runs per day. The full Maker is included with the ZapX Pass.
- The more precise your description, the better the result. Specific commands, permissions, and timings work better than vague requests.
- Always test each AI-generated resource on a test server before deploying it to your live server.
A FiveM resource is a folder containing a manifest and client- and server-side scripts written in Lua. That’s how the Cfx documentation for your first script describes it, too. The Maker handles this work for you: tell it what should happen, and it creates the files and generates the fxmanifest.lua.
The ZapX Maker overview explains what the Maker is and what it can do overall. For FiveM, there’s the AI FiveM Script Generator tool page. Here’s what it includes:
- Language: Lua for client, server, and shared scripts. The
fxmanifest.luais generated automatically from the files. - Frameworks: ESX, QBCore (including Qbox), or standalone without a framework, with optional support for
ox_lib,ox_target, andox_inventory. - Interfaces: If your idea needs a HUD or menu, the Maker adds NUI files in HTML, CSS, and JavaScript.
- Database: With ESX or QBCore, the resource uses
oxmysql. Without a framework, it only uses a database if you explicitly ask for one; otherwise, it saves data as a JSON file in its own folder. - Limits: A resource can contain up to 20 files and 512 KB of source code. The Maker doesn’t create custom models, vehicles, maps, or textures.
The public preview works without an account. You can start a limited number of runs per day, which is enough to try an idea and download the finished resource.
The full Maker is included with the Plus, Pro, and Max tiers of the ZapX Pass. You can save projects, continue working on them at any time, and deploy them to your own ZAP server with one click. Each Maker response counts toward your Pass’s AI quota. You can find current prices and quotas on the Pass page.
In the free preview, only responses that actually generate code count as a run. Follow-up questions from the Maker don’t use up a run, so feel free to answer them in detail.
The process is the same in the free and full versions of the Maker. One-click deployment and saved projects are only available with the full Maker.
- Describe your idea in one to three sentences—for example, what the command does, who can use it, and what timing rules apply.
- Answer the Maker’s follow-up questions. If you don’t name a framework, it will ask whether your server uses ESX, QBCore, Qbox, or none of them.
- Review the result in the chat: the resource files, structure, and code.
- Ask for changes in the chat, such as: “And please add a 30-second cooldown.”
- Check the build. The structure, file paths, and size are checked automatically. If the build fails, the Maker will attempt to fix it automatically once.
- Download the resource as a file or deploy it to your ZAP server with one click.
If the automatic repair fails, the Maker will tell you. Simplify your description and build the resource in smaller steps instead of asking for everything in a single prompt.
Your framework choice determines what your script can access. Start by checking what your server already uses.
| Option | Best fit | What the resource uses |
|---|---|---|
| Standalone | your server doesn’t use a framework, or the script should remain independent | FiveM functions only, so it runs on any server |
| ESX | your server runs ESX | the framework’s money, items, jobs, and character names |
| QBCore | your server runs QBCore | the same areas as ESX, but through QBCore |
| Qbox | your server runs Qbox | it’s offered together with QBCore |
You can also adapt the resource to your existing setup with ox_lib, ox_target, or ox_inventory. The Maker automatically adds these dependencies to the fxmanifest.lua. The Maker doesn’t support frameworks other than those listed above.
The Maker builds what you describe. If something is missing, it will make an assumption or ask a question. The more you specify up front, the fewer rounds you’ll need.
| Too vague | Better | Why |
|---|---|---|
| Make an admin script | An /heal command for admins only that heals the player or a specified player ID | the command, permissions, and target are clear |
| A HUD would be cool | A small HUD in the top-right corner showing the in-game time and current player count | the location and content are specified |
| Chat announcements | A server message in chat every 10 minutes with a Discord link and the most important rules | the timing and message are specified |
Here’s what to do:
- Name your framework at the beginning to avoid a follow-up question.
- Specify who can use a command and what cooldown should apply.
- Describe one goal per resource. It’s better to build multiple ideas one at a time.
- Ask for scripts only. The Maker can’t create models, vehicles, maps, or textures.
- Make one specific change per chat message so you can keep track of what changed.
Here’s a prompt you can use as is:
An /heal command that only admins can use: heals the player or a specified player ID, with a 30-second cooldown.
To make things concrete, let’s build the admin command from the prompt above for an ESX server. Start with this description:
I use ESX. Build me an /heal command that only admins can use. It heals the player or a specified player ID, with a 30-second cooldown. The resource should be called zx_heal.
The Maker will respond with follow-up questions, such as whether your server runs ox_lib. Then it will show you the result. If you think of anything else, just keep chatting:
Show the admin a message if the specified player ID doesn’t exist.
Want to build a simple job instead of a command? The process is the same: describe the job name, task, and reward as specifically as possible, and let the Maker use your framework.
Once you’ve downloaded the resource, extract it into your server’s resources folder. The folder name is the resource name. In our example, it looks like this:
resources/
└── zx_heal/
├── fxmanifest.lua
├── client/
└── server/
Next, add the resource to server.cfg. The Maker chooses the exact file names, but the principle is the same:
ensure ox_lib
ensure es_extended
ensure zx_heal
Then restart the server or enter ensure zx_heal in the console. With the full Maker, one-click deployment does this for you: the resource is placed in the resources/[zapx-ai] folder, and the ensure entry is added to server.cfg. This only works if the file exists and is saved in UTF-8. Otherwise, add the line yourself.
The resource must start after its dependencies. If ensure zx_heal comes before ensure ox_lib or ensure es_extended, startup will fail.
You can rent your own server directly from ZAP-Hosting as a FiveM server and use the resource there.
AI-generated code is a good starting point, but it’s no guarantee. The Maker checks the structure, file paths, and size, and a static check catches common Lua errors. However, the code isn’t executed during these checks. Always test it yourself:
- Permissions: Try admin commands with a regular player account; nothing should happen.
- Multiplayer: Test with several players at once, especially cooldowns and announcements.
- Dependencies: Check that
ox_lib,oxmysql, and your framework start in the right order. - Console: Check the server console for errors or warnings when the resource starts.
Back up server.cfg and your database before the first deployment to your live server. Use a test server for your first run.
Do I need to know Lua to create a FiveM script?
No. Describe your idea in everyday language, and the Maker writes the code. The better you know FiveM, the more precise your description will be, but you don’t need to program.
Is the ZapX Maker for FiveM free?
You can use the public preview for free without an account, with a limited number of runs per day. The full Maker is part of the ZapX Pass, and each response counts toward its AI quota. Find more details on the ZapX Pass page.
Which frameworks does the Maker support?
ESX, QBCore (including Qbox), and standalone without a framework, with optional support for ox_lib, ox_target, and ox_inventory. Other frameworks aren’t supported.
What can’t the Maker do?
It only writes scripts. Custom models, vehicles, maps, and textures aren’t included. A resource is also limited to 20 files and 512 KB of source code.
What happens if the build fails?
The Maker will automatically try to fix the error once. If it still fails, it will let you know. Simplify your description or build the resource in smaller steps.
With the ZapX Maker, you can go from an idea to a finished FiveM resource without writing Lua yourself. Describe your goal clearly, name your framework, and make changes in the chat as needed. Always test the result on a test server before deploying it live.

















