im currently making an inventory system (shown below)
[IMG]http://i.imgur.com/9YoLrJd.gif[/IMG]
however the problem is when i equip an item i have to close the menu then reopen it, how would i make it 'refresh' i have looked at the wiki but i only see PANEL:Refresh() that is deprecated.
There's no a magical function that will "Refresh" or "update" your panels.
You must delete all icons/items from the panel, and make new ones based on the updated inventory.
Usually this is done when a client receives updated inventory data and the panel is still open.
[QUOTE=Robotboy655;49252877]There's no a magical function that will "Refresh" or "update" your panels.
You must delete all icons/items from the panel, and make new ones based on the updated inventory.
Usually this is done when a client receives updated inventory data and the panel is still open.[/QUOTE]
thanks a bunch! done it now just gotta get that annoying model panel to update aswell :D
[IMG]http://i.imgur.com/DQd0HC4.gif[/IMG]
Sorry, you need to Log In to post a reply to this thread.