Installation

Guide to install the HighQez CashItem

Important Steps to Follow


Download Resource

Make sure you purchase the script using the same Keymaster Account that is linked to your server. If not you will receive a warning "You lack the required entitlement".

If you receive the error mentioned above, you may have to transfer the resource from the current Keymaster account to the server's Keymaster account using the transfer feature in Keymaster.


Transfer Resource

If you are using FTP, please ensure you use WinSCP to transfer the resource to the server. If you use FileZilla, you may encounter the error "Failed to verify protected resource"


Start Resource

Make sure to start the resource only after all essential server resources have been started. Follow the example below to ensure highqez_cashitem

ensure qb-core #Don't start above this
ensure inventory #Don't start above this

#Start the HighQez resource here

ensure highqez_cashitem

#Start the rest of your resources

Resource Items

Ensure to add all required items to your server

OLD QBCore
['cash'] = {
    ['name'] = 'cash', 					        
    ['label'] = 'Cash', 		   		    
    ['weight'] = 0, 		
    ['type'] = 'item', 		
    ['image'] = 'cash.png', 	 		    
    ['unique'] = false, 		
    ['useable'] = false, 	
    ['shouldClose'] = false,	   
    ['combinable'] = nil,   
    ['description'] = 'Currency'
},
NEW QBCore
cash = {
    name = 'cash', 					        
    label = 'Cash', 		   		    
    weight = 0, 		
    type = 'item', 		
    image = 'cash.png', 	 		    
    unique = false, 		
    useable = false, 	
    shouldClose = false,	   
    combinable = nil,   
    description = 'Currency'
},

Configure Resource

Open-source files are available for editing the framework function. The main configuration of the resource is provided below.

Config File
Config = {}

Config.Currency = { ['cash'] = true, }  -- Name of the currency and item need to be the same

Required Resource Adjustments

Refer to the following tab, which is relevant to your current qb-core and inventory script

OLD QBCORE

Remember this important information This version does include inventory functions such as AddItem, RemoveItem, and ClearInventory

NEW QBCORE

Remember this important information This version does not include inventory functions such as AddItem, RemoveItem, and ClearInventory

OLD INVENTORY

Remember this important information The editing process is the same for inventories, including qb-inventory, ps-inventory, and lj-inventory

NEW INVENTORY

Remember this important information The editing process is the same for inventories, including qb-inventory, ps-inventory, and lj-inventory


Resource API

Check out the API page to access all APIs for this resource, which can be very useful for developers

API

Last updated

Was this helpful?