The code i mean:
if Value1 == true
then
print("true")
else
print("false")
So what i mean is i have 6 different values lets call them value 1 to 6. i want to combine all the values into 1 if true then lines of code.
i am not sure if it is possible. i was not able to find any tutorials or blog posts or anything about it.
i hope someone can help me.
i also hope it is a clear question.
Something like this
local WeaponValues = {
Values = {
one = LoadoutsMenu.Rifleman.Select -- Select is the true/false Value
two = LoadoutsMenu.Medic.Select
three = LoadoutsMenu.MG.Select
Four = LoadoutsMenu.Sniper.Select
Five = LoadoutsMenu.Tactical1.Select
Six = LoudoutMenu.Tactical2.Select
}
}
