This guide helps customers understand how to integrate cd_garage with other resources for seamless functionality.
Compatible Resources
Compatibility Type
There are multiple ways another resource can be considered compatible with cd_garage. Some methods are easier for customers than others
Built-in (Recommended): This means the resource's creator has already made the necessary changes to ensure compatibility with cd_garage, so you don’t have to do anything.
Creator Docs: This indicates that the creator provides documentation outlining the required changes you need to make for their resource to be compatible with cd_garage.
Resource Name
Compatibility Type
lb-phone
Built-in
okok-vehicleshop
Creator Docs
gksphone
Built-in
cdev-vehcleshop
Built-in
ESX Resources
Keys
To use our built-in vehicle keys feature with official ESX resources, only the following modifications are required. This is necessary because most ESX resources typically call these functions to spawn vehicles.
Still don't recieve keys?
If you don't receive keys to a vehicle, most likely, one of your resources does not use any of the ESX spawn vehicle functions, so you will need to refer to #VehicleKeys and add the event to that resource.
Add the line of code exactly as seen in the screenshot below.
TriggerEvent('cd_garage:UpdateGarageType')
Persistent Vehicle
To use our built-in persistent vehicle feature with official ESX resources, only the following modifications are required:
Vehicles Still Respawn After Deletion?
If vehicles still respawn after being deleted, it’s likely that one of your resources does not use the ESX delete vehicle function. You will need to refer to #PersistentVehicles and add the necessary event to that resource.
To use our built-in vehicle keys feature with official QBCore resources, only the following modifications are required.
This process is much simpler on QBCore compared to ESX, as we have integrated event handlers for the default QBCore qb-vehiclekeys resource into cd_garage, meaning it’s mostly pre-configured.
Add the line of code exactly as seen in the screenshot below.
TriggerEvent('cd_garage:UpdateGarageType')
Persistent Vehicle
To use our built-in persistent vehicle feature with official QBCore resources, only the following modifications are required:
Vehicles still respawn when deleting them?
If vehicles still respawn when deleting them, most likely, one of your resources does not use the QBCore delete vehicle function, so you will need to refer to #PersistentVehicles and add the event to that resource.
To make your phone's garage app compatible with cd_garage, only the following modifications are required. If you use a phone not listed below, these changes may not work for you.
To make your phone's garage app compatible with cd_garage, only the following modifications are required. If you use a phone not listed below, these changes may not work for you.
lb-phone comes pre-configured to work with cd_garage, so no modifications are required.
gksphone comes pre-configured to work with cd_garage, so no modifications are required.