This script is a FiveM housing system for QBCore servers, allowing players to own, decorate, and interact with houses. Here’s what it does in simple terms:
Belangrijkste functies
- House Tiers:
- Houses are divided into six tiers (T1 to T6), each with unique characteristics and interiors.
- Higher tiers typically have better or more luxurious features.
- Belangrijkste kenmerken:
- Stormram for Police: Police can break into houses using a stormram.
- House Garage: Players can add garages to their houses for storing vehicles.
- Commando's in het spel: Add or manage houses with commands like
/createhouse
of/addgarage
. - House Decoration: Players can customize and furnish houses with items such as sofas, chairs, etc.
- Key System: Players can lock or unlock houses and share keys.
- Outfits and Storage: Store clothes and items in the house.
- Doorbell: Other players can ring the house’s doorbell.
- Real Estate Job: Specific players (real estate agents) can manage house creation and garages.
- Blip System: Automatically adds a map marker for owned houses.
Opdrachten:
/decorate
: Allows players to decorate their house with items like furniture./createhouse [price] [tier]
: Creates a new house with a specific price and tier (real estate job only)./addgarage
: Adds a garage to a nearby house (real estate job only)./enter
: Allows players with keys to enter a house./ring
: Rings the doorbell of a nearby house.
Installatie:
- Add the Script: Place it in the
[qb]
directory of your server files. - Database-instellingen: Import the provided
qb-houses.sql
into your server database. - Serverconfiguratie: Ensure dependencies like
qb-kern
,qb-interior
enqb-garages
are listed in the server configuration file.
Customization (Config):
- Z Offset: Determines the height adjustment for house positioning.
- Furniture List: Defines items (like sofas) available for house decoration, including their prices and labels.
- Stormram Settings: Configures how many times police need to use a stormram to breach a house.
Furniture Customization:
- Players can choose from a variety of furniture categories (e.g., sofas).
- Each item has a unique price, label, and in-game object model.
- You can edit or add items in the
Config.Furniture
sectie.