STG ScriptsDocumentation
Vanaheim Arms

Installation

Install STG Vanaheim Arms on your FiveM server in five steps, with item notes for ox_inventory and qb-inventory.

Vanaheim Arms

STG Vanaheim Arms

ESXQBCoreQBOX
View in store

Download the script

Sign in to the Cfx.re portal with the account you used at checkout and download stg-vanaheimarms from Granted Assets.

Move the resource

Extract the zip and place the stg-vanaheimarms folder inside the [STG] category folder in your resources directory.

resources/
└── [STG]/
    ├── stg_lib/
    └── stg-vanaheimarms/

Install the dependencies

Vanaheim Arms needs ox_lib, oxmysql and stg_lib. Skip this step if your server already runs them. The database tables stg_vanaheim_shops and stg_vanaheim_leaderboard are created on the first start.

Check the items

The store hands out the item named by each key in stg-vanaheimarms/shared/weapons.lua: weapon_* for weapons, ammo-* for ammo boxes and armour for the vest. These names match ox_inventory.

Nothing to add. ox_inventory already ships every weapon, ammo and armour item the store sells.

The weapon_* items already exist in qb-core/shared/items.lua. Ammo and the vest use other names in QBCore, for example pistol_ammo and armor.

Rename the ammo-* and armour keys to your own item names in both shared/weapons.lua and Config.Mission.Weapons, and rename the matching image in stg-vanaheimarms/web/assets/img/items/ so the store still shows it.

Start the script

Make sure [STG] starts after your framework, oxmysql and ox_lib in server.cfg:

ensure oxmysql
ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
ensure stg_lib
ensure [STG]

Then restart the whole server.

The stream/ folder replaces the Ammu-Nation interior assets. If your server runs an Ammu-Nation MLO or another resource that replaces these interiors, the two conflict. Keep only one of them.

Nothing happens or the console shows an error? See Common Errors.

Next steps

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page