Skip to content
Vice Drip
FiveM answers

What is a FiveM script?

A FiveM script — more precisely a "resource" — is a folder of code and a manifest file that adds a specific feature to a FiveM server, such as banking, jobs, vehicle ownership, or police dispatch. FiveM extends the PC version of Grand Theft Auto V with a custom multiplayer server; scripts are the add-ons, written mostly in Lua, that run inside it. A typical roleplay server combines dozens of them.

In one lineA FiveM script, formally called a resource, is a self-contained package of code and configuration that adds one feature to a FiveM Grand Theft Auto V multiplayer server.

The longer answer.

In FiveM's terminology every script is a "resource": a folder containing a manifest file (fxmanifest.lua) that declares what the resource is and which files to load, alongside the actual code. A resource can run entirely server-side, entirely client-side, or as a client/server pair that communicates over the network — most gameplay systems are the latter. FiveM's runtime supports Lua, C#, and JavaScript/TypeScript, but the overwhelming majority of commercial FiveM scripts are written in Lua, currently targeting Lua 5.4.

Scripts range from small utilities — a notification style, a scoreboard — to full subsystems like banking or vehicle ownership, to entire roleplay frameworks that other scripts build on top of. A server is an assembly of dozens of resources from different authors, which is why compatibility (which framework a script expects, which libraries it depends on) matters as much as the feature list.

Commercial scripts are usually sold through Tebex or the Cfx.re Marketplace and may use Cfx's asset escrow to encrypt their core logic, shipping a mix of open configuration and locked business logic. A well-built script keeps game logic authoritative on the server — the client requests an action, and the server decides and records the outcome — because the client runs on hardware the server operator does not control.

Go deeper

Where this is covered in full.

Related questions

People asking this also ask.

Next

Where to go from here.

Published 2026-09-02 · Last reviewed 2026-09-02 · Vice Drip · All answers