Fast Support
Encrypted & Unencrypted Options
Reliable Scripts
Fair Prices

Installation Instructions for gs_advancedtrunk

Follow these steps to properly install and configure your new resource:

  1. Download the Resource
    • Go to portal.cfx.re
    • Navigate to Assets > Granted Assets > gs_advancedtrunk
    • Download the resource
  2. Extract the Files
    • Open the downloaded .zip file
    • Inside, you'll find a folder named gs_advancedtrunk
    • Move the entire gs_advancedtrunk folder into your desired server resources folder (e.g., /resources/[scripts])
  3. Add to Server Configuration
    • Open your server.cfg
    • Add the following line:
      ensure gs_advancedtrunk
  4. Restart the Server
    • Restart your FiveM server (Important!)
  5. Configure the Script (Optional)
    • Navigate to gs_advancedtrunk/config.lua
    • Edit the configuration options to fit your server's needs
Additional documentation

Props not spawning in the trunk?

The script detects most methods of vehicle spawning, automatically creating the right props for the vehicles. But there is 1 method that the script cannot detect, this is CreateVehicleServerSetter. If your script uses this native, you will need to add an export to spawn the trunk props:

exports.gs_advancedtrunk:AddTrunkProps(vehicle)

Known frameworks/scripts with this issue

Below are some of the most popular frameworks/scripts that use this method of spawning. Do you use a different script that is not mentioned below, and are the props not spawning automatically? Simply search for CreateVehicleServerSetter and add the export after the vehicle is spawned.

ESX

Go to es_extended\server\modules\onesync.lua and search for CreateVehicleServerSetter (should be around line 107), then add the following around line 124:

exports.gs_advancedtrunk:AddTrunkProps(createdVehicle)

QB-Core:

Go to qb-core\server\functions.lua and search for CreateVehicleServerSetter (should be around line 391), then add the following around line 393:

exports.gs_advancedtrunk:AddTrunkProps(veh)

Qbox:

Go to qbx_core\modules\lib.lua and search for CreateVehicleServerSetter (should be around line 315), then add the following around line 381:

exports.gs_advancedtrunk:AddTrunkProps(veh)

txAdmin:

Go to server-folder\citizen\system_resources\monitor\resource\menu\server\sv_vehicle.lua (or txAdmin\resource\menu\server\sv_vehicle.lua in some cases) and search for CreateVehicleServerSetter (should be around line 82), then add the following around line 93:

exports.gs_advancedtrunk:AddTrunkProps(newVeh)