I’m learning Lua because I’m a having mappers block.
Now, I used the tutorials on the Garry’s Mod Wiki page.
I combined everything in 1 Lua file because that is the easiest thing for now.
I get this error message when I run my Lua file:
lua est.lua:11: attempt to index global 'Concommand' (a nil value)
I am trying to call this function:
print("myNumber is "…myNumber)
myNumber is changing over the lua file, first value being 0, last value being 10.
Can anyone tell me why it is returning that error?
I think it has something to do with myNumber because I can get a normal message printed in the console.