How to install FiveM scripts step by step

Installing a script on FiveM is simple if you follow the right order. This guide works for most paid resources. If your script has its own steps, always check its documentation.

Before you start

1. Download the resource

Purchased resources are delivered to the Cfx.re portal, on the FiveM account you bought with:

  1. Go to portal.cfx.re with that account.
  2. Open Granted Assets.
  3. Find the product and download it.

If your resource uses FiveM Escrow, your server must use a license key from that same account. Otherwise the resource will not start.

2. Copy the folder

Unzip the file and copy the folder into resources. Do not rename the folder unless the documentation allows it: many scripts depend on the name.

text
server-data/
└── resources/
    └── [origen]/
        └── origen_example/

3. Import the database

If the script includes a .sql file, import it into your database before starting it, using HeidiSQL, phpMyAdmin or your usual tool.

4. Add it to server.cfg

Add an ensure line with the folder name. Order matters: dependencies first, then the script.

cfg
ensure oxmysql
ensure origen_example

5. Configure and restart

Open the configuration files (usually config.lua), adjust what you need and restart the server. Then check the console: any error will show up there.

Common errors

Error Likely cause What to do
Resource does not start Folder misplaced or renamed Check the path and the ensure line
Dependency error A resource is missing or starts later Install it and move it up in server.cfg
Escrow error The license belongs to another account Use a key from the account that owns the resource
SQL error The database was not imported Import the .sql file and restart

Need help?

Every script has its own guide in the documentation. If you get stuck, message us on Discord. Still choosing? See the scripts by framework and category.