Showcase
I didn’t create this script I just modified it, and added instructions
ORIGINAL UPDATED VERSION
DOWNLOAD FROM THIS VERSION ^^^^^^^^
How to Use Simplied version
-
Drag and drop into server
-
Ensure Resource
-
Find a script of your choice then add the line line:
Example:
exports[“v-requirements”]:ShowRequirements({
{
[“Amount”] = 1,
[“Image”] = “qs-inventory/html/images/gold_ring.png”,
[“Label”] = QBCore.Shared.Items[“gold_ring”].label
},
{
[“Amount”] = 21,
[“Image”] = “qs-inventory/html/images/sapphire_earrings.png”,
[“Label”] = QBCore.Shared.Items[“sapphire_earrings”].label
},
})
- Find there you want to hide the resource and add:
exports[“v-requirements”]:HideRequirements()
- You’re done
TIP
If you are getting an error you might have either typed the wrong item name (QBCore.Shared.Items)
or you didnt type the correct path to your inventory images
Example for qs-inventory:
{
["Amount"] = 21,
["Image"] = "qs-inventory/html/images/sapphire_earrings.png",
["Label"] = QBCore.Shared.Items["sapphire_earrings"].label
},
Example for ox_inventory:
{
["Amount"] = 1,
["Image"] = "ox_inventory/web/images/gold_ring.png",
["Label"] = QBCore.Shared.Items["gold_ring"].label
},
Example for qb-inventory:
{
["Amount"] = 1,
["Image"] = "qb-inventory/html/images/gold_ring.png",
["Label"] = QBCore.Shared.Items["gold_ring"].label
},
OLDER SIMPLIFIED VERSION:
[GitHub - yungmexx/v-requirements]
Other Scripts from Me:
[FREE][Standalone] V-VehicleCamShake Controls the vehicle cam while in the air
[[FREE] V-DialogueUi A Clean Simple Dialogue Text using Export and Trigger]
[STANDALONE][ESX][QB] Cinematic Camera Control Using TriggerEvent
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 50 |
Requirements | An inventory system and QBCore |
Support | Yes |