lua error when following the tutorial on wiki
hello good people, I get the following error when writing the exact same code as here (the first part):
"attempt to index a nil value" this is on the fourth line, which is this one: MyFirstAddonCounter:SetText(string.format("Counter: %d", counter)) why is this? the counter variable is clearly initialized as 1 :S This is my first time fiddling with lua, so I would appreciate any help here! thanks |
nil means nothing or not set at all where an integer is expected. You missed something ;)
|
If you're still having this issue Zeox can you post both the LUA code and the XML you have?
|
All times are GMT -6. The time now is 12:51 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI