Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. _menuPool = NativeUI.CreatePool()
  2. mainMenu = NativeUI.CreateMenu('rebelle shop','shop')
  3. _menuPool:Add(mainMenu)
  4.  
  5.  
  6. function AddLicenseMenu(menu)
  7. LicenseMenu = _menuPool:AddSubMenu(menu, ('License'))
  8.  
  9. local rebelle = NativeUI.CreateItem(('License rebelle'), "")
  10. LicenseMenu.SubMenu:AddItem(earsItem)
  11.  
  12. LicenseMenu.SubMenu.OnItemSelect = function(sender, item, index)
  13. if item == rebelle then
  14. notifyc('bien vue zbe')
  15. end
  16. end
  17. end
  18.  
  19.  
  20.  
  21.  
  22.  
  23. function BuyShopMenu(menu)
  24.  
  25.  
  26. BuyShopMenu(mainMenu)
  27. AddLicenseMenu(mainMenu)
  28. _menuPool:RefreshIndex()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement