[LUA] [Question] A table
Started by remiX, Oct 03 2012 11:32 PM
4 replies to this topic
#1
Posted 03 October 2012 - 11:32 PM
Whats the simplest code for a table containing only Yes and No (for both horizontal and vertical) and the code that happens of which one is selected? I honestly cant find anything
/>
#2
Posted 03 October 2012 - 11:39 PM
That is a very broad description for doing something you want to do. Are you trying to make a minign turtle work, are you making a menu, are you trying to make a game? We need details, and some code. Nobody really likes giving out their time if you don't know what you're looking for.
#3
Posted 03 October 2012 - 11:44 PM
Cranium, on 03 October 2012 - 11:39 PM, said:
That is a very broad description for doing something you want to do. Are you trying to make a minign turtle work, are you making a menu, are you trying to make a game? We need details, and some code. Nobody really likes giving out their time if you don't know what you're looking for.
Not a hectic code. All its doing is maintainance for a pump. Table is for switching it on and off. I havent started the code yet. Trying to find a code for how to create tables atm.
#4
Posted 03 October 2012 - 11:52 PM
table = {"Yes", "No"}
Done. I created a table for you. But I think you are trying to create a system that uses options available in that table, to utilize something to turn the pump on/off? If so, check out this tutorial: http://www.computerc...gh-menu-making/
#5
Posted 03 October 2012 - 11:58 PM
Cranium, on 03 October 2012 - 11:52 PM, said:
table = {"Yes", "No"}
Done. I created a table for you. But I think you are trying to create a system that uses options available in that table, to utilize something to turn the pump on/off? If so, check out this tutorial: http://www.computerc...gh-menu-making/
Thanks <3
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











