Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/09/21 in all areas

  1. mp.events.add("loop",() => { let amount = 1; let data= [{name: "w", price: 200}, {name: "w", price: 200}]; let array = [0, 1, 2, 3, 4, 5, 6, 7, 8]; const native = new Menu("HELLO WORLD", " ", resolution); let list = new UIMenuListItem("list", "something..", new ItemsCollection(array)); native.AddItem(list); data.forEach(item => { let _item = new UIMenuItem("name: " + item.name, "price: " + item.price); native.AddItem(_item); }) native.ListChange.on((item, index) => { amount = index + 1; }); })
    1 point
  2. e bine ca ai realizat intr un sfarsit ca esti prost
    0 points
×
×
  • Create New...