πŸ¦„Unique phones

What are unique phones?

A phone is bound to a phone item, not to a character. Every phone is like a physical phone and can be used with all stored data. You can give your phone to another player, and they can use it with all the data stored in it.

How do you use unique phones?

To use unique phones, you need one of the following inventories:

How do you enable unique phones?

To enable unique phones, you need to set Config.Item.UniquePhones and Config.Item.Require to true in /config/config.lua.

/config/config.lua
Config.Item.UniquePhones = true
Config.Item.Require = true

How do you set up unique phones with your inventory?

The script will auto-detect your inventory. However, you can set the inventory explicitly in /config/config.lua.

ox_inventory

Only add the items provided below.

qb-inventory
  • Go to qb-inventory/server/main.lua inside the function local function AddItem(source, item, amount, slot, info):173, add the following code: Location Preview

  • Go to qb-inventory/server/main.lua and find the line slot = tonumber(slot) inside the function local function RemoveItem(source, item, amount, slot):230, add the following code: Location Preview

qb-inventory v2.0 and above
  • Go to qb-inventory/server/functions.lua at the end of the function local function AddItem(identifier, item, amount, slot, info):680, add the following code: Location Preview

  • Go to qb-inventory/server/functions.lua at the end of the function local function RemoveItem(identifier, item, amount, slot):800, add the following code: Location Preview

lj-inventory

Follow the steps for qb-inventory.

ps-inventory

Follow the steps for qb-inventory

custom inventory

An inventory with metadata is sufficient, but not all inventories are supported by default. If your inventory is unsupported, you can review the existing integrations and adapt one to fit your inventory. Please note that this process requires coding expertise, and we do not provide assistance for adding custom inventories.

Phone Items

You need to add the useable items for Unique Phones.

Use the items according to your phone version - YSeries, YPhone, or YFlip Phone. For YSeries, use all.

Last updated