Posted 22 September 2014 - 07:06 AM
I've found a few program laying around the CC forum and pastebin..
one thing they all have in comon, is that they print everything, and dont autoupdate the amount of lava..
so i tried making my own and failed bigtime :P/> hehe
how do i print only 1 thing in a table??
most just use the
for k,v in pairs(tankname) do
for x,y in pairs(v) do
print(x..":"..y)
end
end
that just prints it all..
but i would like to have a static in for of content type (lava, steam, oil fuel or whatever is in the tank)
and then how much there is..
if someone could be so kind and come up with an example
not necesarily one that i can copy, but just so i know what commands to use, and how to use them
still learning CC :D/> and a great way to learn is by writing the code yourself (just my opinion)
one thing they all have in comon, is that they print everything, and dont autoupdate the amount of lava..
so i tried making my own and failed bigtime :P/> hehe
how do i print only 1 thing in a table??
most just use the
for k,v in pairs(tankname) do
for x,y in pairs(v) do
print(x..":"..y)
end
end
that just prints it all..
but i would like to have a static in for of content type (lava, steam, oil fuel or whatever is in the tank)
and then how much there is..
if someone could be so kind and come up with an example
not necesarily one that i can copy, but just so i know what commands to use, and how to use them
still learning CC :D/> and a great way to learn is by writing the code yourself (just my opinion)