Xeikh
詠春 ☯
- Joined
- Oct 23, 2009
- Messages
- 728
- Reaction score
- 18
Hello, im trying to add this feture:
luascript.cpp:
and...
luascript.h: (protected)
But when i try to compile, it gives me this error:
Can please someone help me? :3
luascript.cpp:
Code:
//doChallengePlayer(cid, target)
lua_register(m_luaState, "doChallengePlayer", LuaInterface::luaDoChallengePlayer);
and...
luascript.h: (protected)
Code:
static int32_t luaDoChallengePlayer(lua_State* L);
But when i try to compile, it gives me this error:
Code:
[Linker error] undefined reference to `LuaInterface::luaDoChallengePlayer(lua_State*)'
Can please someone help me? :3