If pieza == 1 then if rotacion == 1 then piezas = cuadrado1 else if rotacion == 2 then piezas = Lua is a powerful, fast, lightweight, embeddable scripting language Because control structures in lua only consider nil and false to be false, and anything else to be true, this will always enter the if statement, which is not what you want either
Telescópio Urbano: Você conhece a Lua?
What does the ~= operator mean in lua
For example, in the following code
If x ~= params then In lua's case, the language is intended to be an embedded scripting language, so any changes that make the language more complex or potentially make the compiler/runtime. I'm new to lua, and need to know how to install it on windows I've tried and am unable to run the sample
When i try to compile it 100% success is shown, but when i click the run button it shows t. Asked 13 years, 5 months ago modified 6 years, 9 months ago viewed 123k times The pairs are stored in arbitrary order and therefore the table is not sorted in any way What you can do is iterate over.

I want to make a command that would kill a player you specify
Let's say i type "kill/paul" Now i want to kill the player with the name paul



