Originally Posted by Ammako
Well you already set repairMode as a string ("1"), and then you try to reuse it as a table, which is bound to cause issues no matter what for what you're trying to do.
|
Hey Ammako thx for your answer, is there a possibility to get the key and safe it as a String ? or is there a better way ?
so that i can check the code with like
Code:
if (repairMode == "1") then
example code here...
elseif (repairMode == "2") then
example code here...
end