Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FlintFiveMNew to Visual Studio Code? Get it now.
FlintFiveM

FlintFiveM

FlintF5iveM

| (0) | Free
Type flint:vrpsetup, flint:qbsetup, flint:qbtarget, flint:create, flint:nuiready or flint:nuireadyjs and get ready-to-run FiveM boilerplate.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FlintFiveM

Write FiveM boilerplate by typing its name.

Type a trigger in a .lua / .js file, press space or enter, and the code lands in the file with the resource name already filled in.

Triggers

Trigger Language What you get
flint:vrpsetup lua vRP Proxy + Tunnel interfaces, a menu, and registerMenuBuilder
flint:vrpmenu lua One vRP menu + the builder entry that opens it
flint:qbsetup lua QBCore GetCoreObject boilerplate (server or client, picked from the file)
flint:qbtarget lua qb-target box zone on coords and a spawned npc, both targetable
flint:create lua CreateThread with while true, dynamic wait, marker and [E]
flint:nuiready lua SetNuiFocus, SendNUIMessage, RegisterNUICallback, onResourceStop
flint:nuireadyjs js / ts / html message listener, fetch helper, escape-to-close

Three ways to fire it

  1. Type it — flint:qbtarget then space or enter. The trigger is swallowed and replaced by the code.
  2. IntelliSense — start typing flint: and pick from the list (Tab / Enter).
  3. Press something — Ctrl+Alt+F (or the ⚡ Flint button in the status bar) opens a picker with every snippet. Everything is in the command palette too, under FlintFiveM.

After inserting, Tab jumps through the placeholders (coords, event names, labels).

Resource name

The generated code is namespaced automatically. The extension walks up from the open file looking for fxmanifest.lua or __resource.lua and uses that folder name, so editing [Players]/1n7_Hud/client/client.lua gives you events called 1n7_Hud:client:example. Override it with flintfivem.resourceName.

Settings

Setting Default Meaning
flintfivem.autoExpand true Expand on space / enter. Off = IntelliSense and commands only.
flintfivem.prefix flint: Change the trigger prefix.
flintfivem.resourceName "" Force a resource name instead of auto-detecting it.

Adding your own

Templates are plain text files in templates/, one per trigger. @@RES@@ is the resource name, @@PASCAL@@ its PascalCase form, and @@1:default@@ / @@1@@ / @@0@@ are the Tab stops. Register the new file in lib/templates.js and add a command in package.json.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft