Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.
ARaros Çevrimdışı

ARaros

Her zaman bir adım önde!
Gold Elite
Jun 29, 2021
181
14,841
336
USA/Los Angeles
Hello everyone VAG Users,
What you need to do first:
You should give information to the bag in qb-shops or the market script you use.

[1] = {
name = "bag",
price = 2,
amount = 1000,
info = {
bagid = tostring(RLShared.RandomInt(2) .. RLShared.RandomStr(3) .. RLShared.RandomInt(1) .. RLShared.RandomStr(2) .. RLShared.RandomInt(3)),
},
type = "item",
slot = 3,
},
For example, the code I mentioned above.
In addition, if you want to print text on the item info, in the inventory;

JavaScript:
} else if (itemData.name == "bag") {
$(".item-info-title").html('<p>'+itemData.label+'</p>')
$(".item-info-description").html('<p><strong>Çanta: </strong><span>' + itemData.info.bagid + '</span></p>');
GOOD USES...
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds