jeudi 7 février 2019

Lua - I need a 4 condition if statement

All I’m looking for is for a way to create a Lua if statement that needs to meet 4 conditions before activating, for example

If (x == condition1 and x == condition2 and x ~= condition3 and x ~= condition4) then Return true End

I’m beginning at Lua right now and just want to know if this will work or if there is another way! (If someone has already had his problem/question and has an answer please link me) Thanks

Aucun commentaire:

Enregistrer un commentaire