OSBotMerccy

Untitled

Jan 12th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.07 KB | None | 0 0
  1.         lua_pushnumber(L, dwBase);
  2.         lua_setfield(L, tableIndex, "dwBase");
  3.         lua_pushnumber(L, id);
  4.         lua_setfield(L, tableIndex, "id");
  5.         lua_pushnumber(L, team);
  6.         lua_setfield(L, tableIndex, "team");
  7.         lua_pushnumber(L, flags);
  8.         lua_setfield(L, tableIndex, "flags");
  9.         lua_pushnumber(L, health);
  10.         lua_setfield(L, tableIndex, "health");
  11.         lua_pushnumber(L, distance);
  12.         lua_setfield(L, tableIndex, "distance");
  13.         lua_pushnumber(L, weapon_id);
  14.         lua_setfield(L, tableIndex, "weapon_id");
  15.         lua_pushnumber(L, ammo);
  16.         lua_setfield(L, tableIndex, "ammo");
  17.         lua_pushnumber(L, totalVelocity);
  18.         lua_setfield(L, tableIndex, "totalVelocity");
  19.         lua_pushnumber(L, inCross);
  20.         lua_setfield(L, tableIndex, "inCross");
  21.         lua_pushnumber(L, lifeState);
  22.         lua_setfield(L, tableIndex, "lifeState");
  23.  
  24.         lua_pushboolean(L, alive);
  25.         lua_setfield(L, tableIndex, "alive");
  26.  
  27.         position.vectorToLua(L);
  28.         lua_setfield(L, tableIndex, "position");
  29.         velocity.vectorToLua(L);
  30.         lua_setfield(L, tableIndex, "velocity");
  31.         punchAngle.vectorToLua(L);
  32.         lua_setfield(L, tableIndex, "punchAngle");
Advertisement
Add Comment
Please, Sign In to add comment