Integrators and Exports

Functions and their uses that will trigger the script from different scripts.

Custom Inventory For House Stash

If you are using one of the inventories we specified in the script, you can adjust your inventory here.

Config.CustomStash = function(HouseCode, StashNo)
    print(HouseCode) -- Unique House Code (like ID)
    print(StashNo) -- House Stash ID 
end

Adding New House Shells

QB Garage Configure

In qb-garages script, if you are using Config.SharedGarages = true as true, you need to make this change in qb-garages/server/main.lua file.

Old Code

New Code

Custom Wardrobe

If you use a different clothing system, you can integrate the wardrobe here.

Vehicle Spawned Event

If you use the vehicle key script when the player leaves or enters the garage, you can integrate it here. The example below is for qb-vehiclekeys.

GetPlayerHouses

If you want to access a player's homes through a different script, you can use this function.

Last updated