CapsAdmin

Untitled

May 19th, 2011
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. LIB(system)
  2.  
  3. function(RunLuaString)
  4.     lua->RunLuaString(lua_tostring(L, -1));
  5.     return 0;
  6. end
  7.  
  8. function(RunLuaFile)
  9.     lua->RunLuaFile(lua_tostring(L, -1));
  10.     return 0;
  11. end
  12.  
  13. // i want to eliminate this somehow
  14.  
  15. START
  16.     REG(RunLuaString);
  17.     REG(RunLuaFile);
  18. END
Advertisement
Add Comment
Please, Sign In to add comment