WiKi - xYaroslavGTx/MTASA-NativeUI GitHub Wiki

createNativeUI createNativeUI(name, title, image, color, namecolor, titlecolor, align, counter, scrollitems, namealign)

Parameters:

  • string Menu Title
  • string Menu Caption or bool false
  • string Image Path Standard Picture Paths "assets/defaultbg.png" and "assets/24.png"
  • color Menu color(if image passed false)
  • color Title color
  • string Position that the menu will be Possible positions right, left
  • bool Show counter
  • int Quantity of items per page Recommended 10, Maximum 10
  • string Position that the menu title will be Possible positions right, left, center

clearNativeUI createNativeUI()

This function will remove all menu items.

removeNativeItem removeNativeItem(id)

This function will remove the item from the specified id.

removeNativeUI removeNativeUI()

This function will remove the menu.