Hello, I use the following code to create global variables : lua_pushnumber(m_LUA, Value); lua_setglobal(m_LUA, VarName);
Thank you for your help, LiF.