Native Scripts — FiveM
A framework-agnostic, production-ready script collection for FiveM (GTA5) servers. The same codebase runs unchanged on ESX, QBCore, Qbox (qbx_core), and standalone.
🧰 Core: FiveM scripts ship with the
ns-utilslayer — a self-containedutils/folder copied into each resource. It auto-detects the framework, inventory, target, skin and SQL systems at runtime. Your code only ever callsUtils.X(...). No shared library dependency.
Quick start
- Grab any ns-* FiveM script from nativescripts.com
- Drop it into
resources/ - Add it to
server.cfg:
ensure ns-loadingscreenThat's it — ns-utils is bundled inside each resource, so there's nothing extra to install. Optional: ox_lib (nicer notifications) and oxmysql (for scripts that use a database).
The Utils.* layer is explained in How it works below.
Scripts
- ns-loadingscreen — Themed loading screen with rotating backgrounds, in-screen music player, server rules panel and rotating tips.
How it works
Every FiveM script bundles ns-utils. There is no shared ns-lib dependency (that's the RedM side) — instead utils/shared.lua, utils/client.lua and utils/server.lua live inside each resource and detect the active framework on startup. You write against Utils.* and never branch on the framework name.
Community
- Store: nativescripts.com — full catalogue, free + paid
- Discord: discord.gg/UyyngemnF8 — bug reports, feature requests, server invites
- RedM docs: nativescripts-redm.github.io/docs — the RDR3 side of the catalogue
