Hello!
Ive been working on a gun, and I made it so some values are stored in a table.
-- table
local configurations_ = {
Automatic = false;
Shotgun = false;
Chambering = false;
Load_Singular = false;
Affected_By_Strength = true;
Pellets = 10;
Spread = 5;
Damage = 20;
Fire_Rate = 0.5;
}
print(configurations_)
So, it should be… Normal, correct?
Welllllll… Nope.
This is how its printed in the output:
["Affected_By_Strength"] = true,
["Automatic"] = false,
["Chambering"] = false,
["Damage"] = 20,
["Fire_Rate"] = 0.5,
["Load_Singular"] = false,
["Pellets"] = 10,
["Shotgun"] = false,
["Spread"] = 5
Sorry to break it to you, print(), but thats not what my table looks like.
This weird formatting is messing with my scripts because its moving variables to the point that it will check if a NUMBER is equal to true.
uhhh… How do I fix this?