Full Config: Points
The complete configs/shared/points.lua for Advanced Housing (sd-housing): the stash, the wardrobe and the garage of a property.
TIP
See the configuration guide for what each file controls. Download this file as a reference, and merge changes with the config shipped in your installed version.
lua
-- What a property has inside: a stash, a wardrobe, a garage. Each is a point - placed by an admin in the panel, or by
-- the owner from the property menu while they stand where they want it (the stash and the wardrobe). A walk-in house
-- with a garage gets its garage point on import: inside the garage, facing out of its door.
return {
Distance = 1.4, -- metres from a stash or wardrobe point its prompt shows
Key = 38, -- control that opens it (38 = E)
OwnersPlace = true, -- owners may place their own stash and wardrobe (the property menu, while inside)
PlaceRange = 30.0, -- metres from the entrance an owner may place one (keeps a stash in the house, not across town)
Stash = { -- ox_inventory; one shared stash per property, for its owner and keyholders
Slots = 50,
Weight = 250000, -- grams
},
Wardrobe = {
-- What opening a wardrobe does: a client event of the clothing resource. illenium-appearance by default (qb-clothing's
-- 'qb-clothing:client:openOutfitMenu' works with it too); fivem-appearance: 'fivem-appearance:client:openWardrobe'.
Event = 'illenium-appearance:client:openOutfitMenu',
},
Garage = { -- qbx_garages; one garage per property with a garage point, for its owner and keyholders
Enabled = true,
Shared = false, -- true: everyone with a key sees every vehicle parked there; false: each sees their own
VehicleType = 'car',
},
}