krankthefunk
New Member
- Joined
- Jan 7, 2008
- Messages
- 127
- Reaction score
- 2
I tried to add in: //doChallengePlayer(cid, target)
lua_register(m_luaState, "doChallengePlayer", LuaInterface::luaDoChallengePlayer);
And when compiling, I got the error: In member function 'virtual void LuaScriptInterface::registerFunctions[]':
'LuaInterface' has not been declared
****[ob//luascript.o] Error 1
I added it in luascript.cpp
How do I fix this??
lua_register(m_luaState, "doChallengePlayer", LuaInterface::luaDoChallengePlayer);
And when compiling, I got the error: In member function 'virtual void LuaScriptInterface::registerFunctions[]':
'LuaInterface' has not been declared
****[ob//luascript.o] Error 1
I added it in luascript.cpp
How do I fix this??