Jump to content

Question

Posted

Hello all so , i was wondering if anyone knew if it was possible to give Values Custom names , For example i have 10 listed items , range from 1-10 , each value being identified as a diffrent item in the game , So if i wanna change 4 to "OLIVES" Instead of "VAR123456 blah blah blah" . i hope i explained myself well thanks in advance !! 

2 answers to this question

Recommended Posts

  • 0
Posted

[ @Koolie ]
---
Read: Names. You just need to add "name" key to your table.

tables = {{
["address"] = 0x000000,
["flags"] = 16,
["name"] = "OLIVES"
}}

gg.addListItems(tables)

---

  • 0
Posted
20 hours ago, kiynox said:

[ @Koolie ]
---
Read: Names. You just need to add "name" key to your table.

tables = {{
["address"] = 0x000000,
["flags"] = 16,
["name"] = "OLIVES"
}}

gg.addListItems(tables)

---

Hey big thanks for the help , really appreciate it , been driving me crazy lol 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.