New version, New Gallery
Gallery Tab is now available both in Lua and C#!! 🥳🥳🥳
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
GalleryItem
s 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 outOnGalleryIndexChanged
: triggered when you select a different picture both in zoomed or thumb modesOnGalleryItemSelected
: triggered ONLY when an item is selected in Zoomed mode.
Changes from the community:
- Fix multiple Lua lint / logic errors by @Mathu-lmn in #210
- Fix GlobalGameTimer in Lua by @therkysmart in #212
- Fix UIMenu RemoveItemAt by @Mathu-lmn in #211
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 orSetAnimations
in C# 🩷
Full Changelog: 5.2.5...5.3