Log in

View Full Version : ItemList view script



foxtacles
09-01-2013, 11:05 PM
New default script: https://fuch.si/8Q

This script / plugin allows you to create a GUI list element representing the contents of an ItemList (which can also be a Container / Actor / Player). You can create a list with IlView::Create (PAWN: IlView_Create) and embed it in your own GUI window. It will automatically update if the item list contents change, and will call a user-defined function to print an item in the list (format function) and a notify function if an item is being selected / deselected by a player.

This can be used to craft advanced entities such as vendors. Also shows off the flexibility and modularity of the vaultmp scripting engine.