Hello, I'm a beginner at Lua, so please don't be harsh.
I'm wondering what's wrong with this;
myTable={} myTable[1] = "TeoTown" myTable[2] = "is AWESOME!" myTable[3] = "is NOT awesome!" if Player:Nick() == "TeoTown" then Msg (myTable[1] .. myTable [2]) else Msg (myTable[1] .. myTable [3]) end
I keep getting this error messege in my console when I try to run it.
[lua\helloworld.lua:7] attempt to index global 'Player' (a function value)
Halp

Register
Events
Popular
More
Post #1






Agree x 2
Lua Helper x 2