Bikereh
(green_lady)
1
I have this module script with tables in it, but there are some underlines for some reason.
local module = {
apple = {Name == "Apple", Amount = 1, Price = 0},
rottenApple = {Name == "Rotten Apple", Amount = 5, Price = 20},
glassApple = {Name == "Glass Apple", Amount = 20, Price = 100},
neonApple = {Name == "Neon Apple", Amount = 250, Price = 1000}
}
return module
nicemike40
(nicemike40)
2
If you hover your mouse over those words, what does it tell you?
Bikereh
(green_lady)
3
The problem is that I put 2 equal signs for the name (idk why). also it doesn’t say anything if I hover over but its fixed now
xZylter
(xZylter)
4
It’s the double equal that’s causing the issue. Remove one.
xZylter
(xZylter)
5
Because 2 equal signs are only used for comparison that two values are identical.
system
(system)
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.