π¦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:
ox_inventory - Recommended
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.Item.UniquePhones = true
Config.Item.Require = trueHow 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.
qb-inventory
Go to
qb-inventory/server/main.luainside the functionlocal function AddItem(source, item, amount, slot, info):173, add the following code: Location Preview
Go to
qb-inventory/server/main.luaand find the lineslot = tonumber(slot)inside the functionlocal 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.luaat the end of the functionlocal function AddItem(identifier, item, amount, slot, info):680, add the following code: Location Preview
Go to
qb-inventory/server/functions.luaat the end of the functionlocal function RemoveItem(identifier, item, amount, slot):800, add the following code: Location Preview
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