Advertisement
King_ZZ

MapBuyableObjects_drawParts.lua_SNIPPET_visible

Nov 18th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.69 KB | None | 0 0
  1. if (ObjectBuy.drawParts[i].newNumber == 1 or ObjectBuy.drawParts[i].newNumber == 3) and (ObjectBuy.drawParts[i].newNum == 0 or ObjectBuy.drawParts[i].newNum == 3) and (ObjectBuy.drawParts[i].newTri == 1 or ObjectBuy.drawParts[i].newTri == 3) and (ObjectBuy.drawParts[i].newDelTri == 0 or ObjectBuy.drawParts[i].newDelTri == 3) and (ObjectBuy.drawParts[i].newTransObj == 1 or ObjectBuy.drawParts[i].newTransObj == 3) then
  2.                                 ObjectBuy.drawParts[i].hasPressedBuy = 1;
  3.                                 ObjectBuy.drawParts[i].saveGameLoad = true;
  4.                                 ObjectBuy.drawParts[i].payedPrice = true;
  5.                                 ObjectBuy.drawParts[i]:visibility(true, false, 1);
  6.                                 ObjectBuy.drawParts[i].infoToOthers = false;
  7.                             end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement