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!


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.

FiveM/RedM Asset Escrow

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.

Dependencies
Direct links

Asset Order

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.

Advanced Configuration

Last updated