gta6/prompts
medical
Vaultbeginnermedical

Medical Licensing — Certification & Skill Progression

ESX/QB tiered medical certification that earns XP from training courses, recomputes a certification tier server-side, and gates procedures behind the required tier.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~92 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A tiered medical certification system for ESX or QB: medics earn XP by taking training courses, the server recomputes their certification tier against XP thresholds, and each procedure is gated behind a required tier. It is a familiar progression pattern — best bundled into a larger medical pack as the layer that turns a flat job into a career ladder rather than sold as a headline feature.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/medical/28-medical-license-certification.lua. It implements a server-owned XP/tier table, a training round-trip that recomputes the tier from…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-trusted tier — Claude lets the client decide procedure eligibility; keep XP, tier and the gate server-side keyed by source.
  • Anim before load — the study TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.
  • One-sided net eventcert:sync on only one side leaves the tier stale after a course; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move XP and tier into server.lua keyed by source, recompute the tier from the XP thresholds inside cert:train, and in cert:procedure reject the procedure whenever the server-side tier is below PROC_REQ for that code — never read the tier the client sends."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); persist with xPlayer.set('medXp', xp) so progression survives relogs.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); store on Player.PlayerData.metadata.medCert via Player.Functions.SetMetaData.
  • QBox: use exports.qbx_core:GetPlayer(src) and the same metadata accessor for persistence.

Profit Potential

$80–$1200/mo on Tebex (expected ~$300). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a saturated cert-gating niche.

Trend Signal

saturated — inferred: Cert/license gating is a common, low-novelty pattern; saturated — bundle it, do not lead with it.

Sales Angle

Bundle as the progression layer inside a larger medical pack — it turns a flat job into a career ladder but should not be the headline. Recommended Tebex price $59.

Difficulty & Ship Time

beginner · ships in 2-4h.