• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Help with "'LuaInterface' has not been declared.

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??
 

Similar threads

Replies
2
Views
593
Back
Top