Jump to content

Help with NativeUI


Recommended Posts

  • 3 weeks later...

@codeqod To add a NativeUI first of all you cannot add it in your server-side. You need to add it in your client-side.

Use your server-side script to invoke a ClientEvent. In the client-side (optional: module) script Event.Add to fetch the invoke'd event from the server. Then in the client delegate a function to that eventName.

In the delegated function you need to create a RAGE.NUI.MenuPool and then create a RAGE.NUI.UIMenu and keep adding items to it which suffices your functional needs. Then make UIMenu.Visible as true. And you're good to go.

You'll get something like this


Edited by $kylar
Link to comment
Share on other sites

  • 3 weeks later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...