lua_State L;
lua_baselibopen(L)
lua_settop(L, 0);
lua_dofile(L, "LUA\\init.lua"); // load the script
My Question is, do we have to have an L variable per script file, or is there a way arround this? So that I can spread out code into diferent files, etc...
Thank you for your replies...
EDIT: Small error in code...
[Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][Yann L.][Enginuity]
The most irrefutable evidence that there is intelligent life in the Universe is that they haven't contacted us!