Skip to Content

🏡 QBハウス

導入

  • プレイヤーは不動産業の職を持つ人が建てた家を購入できる。家を飾ったり、個人ガレージを所有したり、友達と鍵を共有したりできる。

[!NOTE] デフォルトでは、このリソースは以下にある16個の無料シェルを使用します。qb-interior.md

プレビュー

Viewing a house will bring up this UI which shows the cost and buy/cancel buttons

Use the radial menu to set locations in your house such as stash and outfit access

Personalize your house by using the in-game decorator

構成

ジェネリック

Config = {} Config.MinZOffset = 30 -- how far under the ground shells will spawn Config.RamsNeeded = 2 -- how many stormram items are needed to raid a house Config.UnownedBlips = false -- enable/disable unowned house blips on the map Config.Houses = {} -- populates automatically on server start Config.Targets = {} -- populates automatically on server start Config.Furniture = {} -- pre-filled with tons of options

貝殻

  • qb-houses/client/main.lua の 697 行目にあります
local function getDataForHouseTier(house, coords)

コマンド

  • /decorate - playerが家を飾ることを許可する
  • /createhouse [価格] [段階] - 家を作成し、データベースに保存します
  • /addgarage - 近くの家にガレージを追加します
  • /enter - 近くの家に入る
  • /ring - 近くの家のベルを鳴らす

アイテム

  • policestormram - 勤務中の警察官がplayerの自宅に入り、捜索することを許可する
Last updated on