OSBotMerccy

Untitled

Jan 10th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1.     lua_createtable(L, 0, 3);
  2.     lua_pushstring(L, "Value1");
  3.     lua_setfield(L, -2, "Key1");
  4.     lua_pushstring(L, "Value2");
  5.     lua_setfield(L, -2, "Key2");
  6.    
  7.     lua_createtable(L, 0, 2);
  8.     lua_pushstring(L, "hp");
  9.     lua_setfield(L, -2, "100");
  10.     lua_pushstring(L, "distance");
  11.     lua_setfield(L, -2, "1000");
  12.     lua_setfield(L, -2, "Data");
  13.  
  14.     lua_setglobal(L, "Game");
Advertisement
Add Comment
Please, Sign In to add comment