rpforger.com
Powered by Claude Sonnet 4.5

Generate production-ready FiveM scripts with AI.

Describe what you want in plain language. Get clean Lua, ox_lib menus, SQL schemas, and ready-to-deploy resources — themed to match your server in seconds.

Generate 1 complete script free. No credit card required.
Real output examples

See what you get

These are actual outputs from RPForger — not cherry-picked marketing fluff. Every generation includes fxmanifest, config, Lua, SQL, and installation steps.

Prompt:"Build a simple garbage job with routes and payment"
Output preview (server/main.lua):
RegisterNetEvent('rpf_garbage:server:completeRoute', function(routeId)
  local src = source
  local Player = QBCore.Functions.GetPlayer(src)
  if not Player then return end

  local routeData = Config.Routes[routeId]
  if not routeData then return end

  -- Validate player actually completed the route (anti-cheat)
  local playerCoords = GetEntityCoords(GetPlayerPed(src))
  local lastStop = routeData.stops[#routeData.stops]
  if #(playerCoords - lastStop) > 10.0 then return end

  local payout = routeData.basePay + (routeData.bonusPerStop * #routeData.stops)
  Player.Functions.AddMoney('cash', payout, 'garbage-route-complete')
  TriggerClientEvent('ox_lib:notify', src, {
    title = 'Route Complete',
    description = ('$%d deposited'):format(payout),
    type = 'success'
  })
end)
fxmanifest.luaconfig.luaserver/main.luaclient/main.luaInstallation steps
Prompt:"Add an ox_lib context menu for a mechanic shop"
Output preview (client/main.lua):
lib.registerContext({
  id = 'mechanic_main_menu',
  title = 'Mechanic Services',
  options = {
    {
      title = 'Repair Vehicle',
      description = 'Full body and engine repair',
      icon = 'wrench',
      onSelect = function()
        local vehicle = lib.getClosestVehicle(GetEntityCoords(cache.ped), 5.0, false)
        if not vehicle then
          return lib.notify({ title = 'No vehicle nearby', type = 'error' })
        end
        if lib.progressCircle({
          duration = 8000,
          label = 'Repairing vehicle...',
          useWhileDead = false,
          canCancel = true,
          anim = { dict = 'mini@repair', clip = 'fixing_a_player' },
        }) then
          TriggerServerEvent('rpf_mechanic:server:repair', NetworkGetNetworkIdFromEntity(vehicle))
        end
      end,
    },
    -- ... more options
  }
})
Uses your theme colorsProgress bar includedServer validation

Everything you need to ship faster

Prompt to Lua

Type "Build a police job with arrest and fines" and ship a working resource.

Themed for your server

Live ox_lib preview. Tweak colors and the AI matches your server's UI.

Clean, idiomatic code

Modern FiveM patterns, ox_lib, lib.callback, exports — done right.

Generation history

Every prompt and output is saved, searchable, and exportable.

Yours, securely

Auth + Row Level Security via Supabase. Your scripts stay private.

Credit-based

One credit per generation. Top up or subscribe — no surprises.

Built specifically for FiveM

Why RPForger beats generic AI tools

ChatGPT and copilots hallucinate FiveM natives, mix QBCore and ESX syntax, and skip critical patterns. We don't.

Trained on the real FiveM ecosystem

Our system prompt encodes hundreds of pages of context: the full Cfx.re native reference, ox_lib's entire export surface, QBCore and ESX player object internals, oxmysql query patterns, NUI focus/cursor handling, and the unwritten conventions every senior FiveM dev knows.

Production-ready file structure

Every generation lands in a strict, predictable order: fxmanifest → config → SQL → server → client → NUI → installation → recommendations. Drop the zip into resources/ and run.

Themes that match your server

Set your colors, menu shape, font, and animation style once. The AI applies them to every ox_lib menu and NUI page it generates — including CSS keyframes, transitions, glassmorphism, and shadow intensity.

Smart recommendations, not just code

Every output ends with concrete suggestions tailored to your script: which in-game tools to use for coordinates, which companion resources fit, and how to test edge cases.

Continue refining your script in chat

Generated something? Ask follow-ups: "add a leaderboard", "make it use ox_target instead", "move the laptop UI to a key bind". The AI keeps full conversation context.

Try it free