Guest User

test

a guest
Mar 25th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. local t = { ["white"] = { "colors.white", true }, ["orange"] = { "colors.orange", false } }
  2.  
  3. for k,v in pairs( t ) do
  4.   if v[ 2 ] == true then
  5.     print( v[ 1 ] )
  6.   end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment