Hello there,
I'm a beginner in LUA, so I'm trying to learn as much as I can. I'm struggling now with something:
I created a gridlist with 3 columns. I want to retrieve all the weapons that the client has, listing their names, IDs, and total ammo into the gridlist created previously.
It is necessary for tables and loops to be set, as I stated I'm beginner so I'm trying to learn these stuff.
To start with:
wepGridlist = guiCreateGridList(20, 27, 335, 177, false, window) guiGridListAddColumn(wepGridlist, "ID", 0.2) guiGridListAddColumn(wepGridlist, "Name", 0.4) guiGridListAddColumn(wepGridlist, "Ammo", 0.3)
If you can, please explain the code you're going to post, step by step.