Ryancit2 Posted March 17, 2014 Posted March 17, 2014 Hey guys..I know there are other ways to list some tables' values into a gui gridlist but i am suggesting it mainly because of dB tables which usually contain 1000s of values. So this might be easier way: bool listTableIntoGridList( table theTable, element theGrid) isn't that better? [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Castillo Posted March 17, 2014 Posted March 17, 2014 That's already possible to do it with the scripting functions. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Spajk Posted March 17, 2014 Posted March 17, 2014 Just loop thru table and add it. A function like this would have to do the same thing at some level.
Ryancit2 Posted March 18, 2014 Author Posted March 18, 2014 Yeah as i stated above, its possible but usually dB tables have quite large number of values which we sometimes need to list into gridlists.. Anyways, good day. [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Noki Posted March 18, 2014 Posted March 18, 2014 A few more lines and a loop would do it perfectly. Of course this would be good for beginners, but a loop is simple enough.
Arnold-1 Posted March 19, 2014 Posted March 19, 2014 Maybe it can be added in the Wiki as a useful function, hmm maybe. Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
ixjf Posted March 20, 2014 Posted March 20, 2014 Please don't add more junk to the useful functions page - it's for actual useful functions, not this. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
xXMADEXx Posted March 27, 2014 Posted March 27, 2014 It would be basically pointless to put it into the useful functions page, because it can be done with a simple for loop, besides, there is no way it could work exactly how the user wants it if the gridlist has multiple columns. The Ultimate Lua Tutorial! | MTA PHP SDK
Recommended Posts