Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

NativeUI for Grand Theft Auto IV


ItsClonkAndre
 Share

Recommended Posts

ItsClonkAndre

NativeUI IV Library

(Screenshot of version 0.7)

exypBCw.gif

 

Download Version 0.8.1

⚠️ A important change was made for version 0.5. Please check the version history for version 0.5.

ℹ️ You can download every version of NativeUI IV down below in the version history section.

 

NativeUI IV also available on GTAinside.com

Documentation: NativeUI Documentation

 

ℹ️ What is NativeUI?

NativeUI IV is a ScriptHookDotNet based library to easily create your own Rockstar-like menus for GTA IV.

 

Menu features

  • Controller support
  • Event-based callbacks

 

Current menu items

  • Default menuitem to show text (can also be used as a button)
  • A checkbox
  • A list item

 

Item features

  • Items can be enabled or disabled.
  • You can give every item a name.
  • You can give every item a description.
  • You can now create a new menu, and bind it to a item. So if the user clicks on that item, the binded menu will show up. (Works only with default items)

 

Suggestions

If you have any suggestions for the next version of NativeUI IV, comment your suggestion down below! :)

 

 

Known bugs

  1. The item description rectangle does not adapt to the item description text, meaning that, when the description text is too long, the text will leave the rectangle. If anyone knows how to fix this, please contact me.

 

Version history

  • 0.8.1 - Bug fix release
  1. Fixed System.ArgumentOutOfRange exception when menu item count is below MaxItemsVisibleAtOnce value.
  1. The menu is now scrollable! You can set how many items should be visible at once with this menu property: "MaxItemsVisibleAtOnce" (Thanks to @Teki for helping me with this)

           With this feature, you can now add as many items as you want to the menu.

  1. Now with animated banner support!
  1. The letter "g" will no longer be cut off from the text.

      - Before: https://i.imgur.com/CSBNmHi.png After: https://i.imgur.com/ivPe04h.png

  1. ⚠️ Changed the class name "NativeUI.Menu" to "NativeUI.UIMenu" to prevent conflictions between "System.Windows.Forms.Menu" and "NativeUI.Menu".
  2. Added the ability to bind menus to default items. With that, you can create an easy nested menu system.
  1. Added sounds for navigating through the menu or clicking on items. Sounds can be enabled or disabled with: NativeUI.Menu.Options.enableMenuSounds.
  1. Selected item index and max item (1 / 7) now changes it's position dynamically through its lenght.
  2. Added the ability to use custom icons for default menu items.

      https://i.imgur.com/5gGqa3o.pnghttps://i.imgur.com/7IWm4GU.png

  1. Added a list item.
  • 0.1

      - Release.

 

Inspired by NativeUI for GTA 5.

Edited by ItsClonkAndre
Updated to version 0.8.1
Link to comment
Share on other sites

On 12/2/2020 at 10:46 PM, marco886 said:

Amazing! Hope we can get an active GTA IV modding community again like for GTA V.

becoz of GTA V, GTA IV Modding is dead but we are trying to revive it.

 

Nice script this will help me in making car/weapons purchasing script.

 

Edited by BOSSSSS-GG
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.