Skip to content

New version, New Gallery

Compare
Choose a tag to compare
@manups4e manups4e released this 07 May 19:11
· 86 commits to master since this release

Gallery Tab is now available both in Lua and C#!! 🥳🥳🥳

image

You can check the example scripts to see how it works!! Usage is pretty simple!

  • Create the tab
  • Add the tab to the pause menu
  • Add all the GalleryItems you want
  • Set a blip and / or a long description for your gallery item
  • enjoy!

Gallery Tab comes with certain events:

  • OnGalleryModeChanged: triggered when a picture is zoomed in or zoomed out
  • OnGalleryIndexChanged: triggered when you select a different picture both in zoomed or thumb modes
  • OnGalleryItemSelected: triggered ONLY when an item is selected in Zoomed mode.

⚠️ If you set a Blip for your GalleryItem the long description will be automatically hidden by it, so remember.. if you want the description panel to be visible.. remove the blip or don't set it!!

Changes from the community:

New Contributors

  • @therkysmart made their first contribution in #212

  • A new feature has been added to UIMenu that let's you handle menu animations all in one place.. simply use menu:SetMenuAnimations in LUA or SetAnimations in C# 🩷

Full Changelog: 5.2.5...5.3

⚠️⚠️⚠️⚠️ UPDATING THE ASSETS IS MANDATORY!!!!!!! ⚠️⚠️⚠️⚠️