I'm making a custom expansion, and i'm creating a custom player spawn event. I've finished the code but whenever I run it it says
" attempting to call index upvalue "NPC_SPAWNER_A" <nil value>".
the code is here: [Lua] Wow- starting creation problem - Pastebin.com
any help would be great!