Installation

Thank you for purchasing motorhome, here you can learn the basic instructions to install the resource and get it running. As long as each step is followed correctly, there should ne issues!

It's recommend that you read each step carefully without skipping any lines, since all documentation is important and should not be ignored under any circumstances.


Download The Assets

To find and download the asset, you must have made the purchase using your own Cfx/keymaster account. Otherwise, you can use keymasters transfer system to transfer the asset to a different Cfx/keymaster account.

Once the purchase is made on our official website, you will receive your asset directly in your keymaster, in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case.

pageFiveM Asset Escrow System

Dependencies (Required)

This asset has some dependencies that are mandatory. If you do not have these dependencies, your asset will probably not start and/or have some error messages in its command console.

DependenciesDirect links

ox_lib

Asset Order

You need to make sure assets start in the correct order, if something goes wrong you will probably get errors about exports not found, do not skip this step!

Make sure the order of assets are correct in your server.cfg file.

-- First, frameworks required
ensure ox_lib

-- All other resources including
ensure gs-motorhomes-assets
ensure gs-motorhomes

Configuration

The following are the basic requirement's to get started with your framework. Open the 'shared/config.lua' and follow the steps below...

Set your framework depending on what you require, qb, esx, standalone

Config.Framework = 'qb'                                                     -- Framework used (esx/qb/standalone)

Item

Inside of the the "Items" folder you will find an SQL file for esx servers or a .txt file for qb framework, and qs-inventory. These will help you quickly setup the Lockpick Kit usable item for your framework.

If you disabled the item config you can just use the command or trigger the the client event "gs-motorhomes:client:minigame" from your own framework functions to initiate forced entry.

QB Core

There's also a "lockpick_kit.png" file provided.

['lockpick_kit'] = {
    ['name'] = 'lockpick_kit', 			  	    
    ['label'] = 'Lockpick Kit', 			    
    ['weight'] = 5, 		
    ['type'] = 'item', 		
    ['image'] = 'lockpick_kit.png', 		    
    ['unique'] = false, 		
    ['useable'] = true, 	
    ['shouldClose'] = true,	   
    ['combinable'] = nil,   
    ['description'] = ''
},
ESX

SQL to add the "Lockpick Kit" item to the items table for esx servers

INSERT INTO `items` (`name`, `label`, `weight`) VALUES ('lockpick_kit', 'Lockpick Kit', 5);
QS Inventory

There's also a "lockpick_kit.png" file provided.

["lockpick_kit"] = {
    ["name"] = "lockpick_kit",
    ["label"] = "Lockpick Kit,
    ["weight"] = 5,
    ["type"] = "item",
    ["image"] = "lockpick_kit.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = ""
},

For more advanced configurations, please visit the Advanced Configurations section.

You can also join the discord for updates, player shared configs, and support.

pageAdvanced Configuration

Last updated