Official NativeUI 3.0 C#

@d0p3t i made the pull request as you suggested :slight_smile: if it gets accepted i’d ask you to delete this thread is that ok?

Sure thing thank you for that. We’ll keep it up for now.

It’s a beginning :smiley:



This really looks like mine hahahaha

Yours is beautiful! ahah

I have trouble with changes in outfits :’(

show me your code maybe i can help you :slight_smile:

When I select me, it does not work

this is in lua… ^^ but the library i made is in C#

@d0p3t My pull request was accepted and i edited the first post to link to the Official NativeUI for FiveM :slight_smile:

i started working with NativeUI in Scaleforms to be faster and lighter… i hope to make a pull request for that too asap

Official version 2.2 is out!!
you can get it here https://github.com/citizenfx/NativeUI/releases

Added 2 comparison pictures with MenuAPI for skeptical people

Official NativeUI updated to version 2.5

New Updated Items! Lot’s of colors!

  • You can now set Colors to UIMenuItem directly (as UIMenuColoredItem is now deprecated… just change all your UIMenuColoredItem into UIMenuItem!!)
  • Added colors support to UIMenuListItem and UIMenuCheckBoxItem!!
  • Updated UIMenuCheckBoxItem, you can now choose between Tick or Cross Style!
  • General CleanUp and BugFixing.

Download: https://github.com/citizenfx/NativeUI/releases

Official NativeUI updated to version 2.6

  • General Code cleanup
  • Added checks for Keyboard Inputs / Controllable elements (this way the menu won’t move while other HUD layers are above the menu)
  • Fixed panels controlling with mouse with different SafeZones scaling
    (the distance between screen boarders and In-Game HUD like Minimap, you can change this distance in Settings->Display. There is an option there for Safezone Size that affects display at the edges of the screen.)

Download: https://github.com/citizenfx/NativeUI/releases

Official NativeUI updated to version 2.7

  • Updated Client API to the latest Nuget package
  • Added MenuGlare option and animation to the menu (default false)

Download: https://github.com/citizenfx/NativeUI/releases

I’m having trouble getting this to work following the guide from the scripthook version of nativeui - could you write (or show me) a guide that details installation of this alongside a mod that will make calls to it?

you can take a look at the github page and the ExampleMenu.cs to understand how to use it… it’s similar to the ScriptHook one but with more features you might want to take a look at…

for the installation… you just import it into your c# project… you can copy / paste the source code into your project directly or download the pre-compiled NativeUI dll from the Release section in github and use it as an external lib… your choice :slight_smile:

1 Like

@manups4e I’m still a little lost, like should I take the compiled dll and drop it into the resources folder of the mod I want to call the nativeUI from? And then reference to that dll in the solution? Or maybe instead I should keep the resource folder for nativeUI (which also has the example dll), and reference to that dll outside of the other mods resource folder?

And if it can be inside the same resource folder, then what about the stream folder? Does it need to be in there with my mods resource folder?

EDIT: Ok - got it to work by placing it in the same folder with my resource :slight_smile:
Now I’m not sure if I need the stream folder or not, but I stuck that in there too.

that stream folders is needed from the menu to stream the horizontal and vertical grid panel… if you don’t use them… no need to stream it

1 Like

How do I change key bindings