Jump to content
View in the app

A better way to browse. Learn more.

RDR2Mods.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to assign Menu Prompt to Object in Rage Plugin?

Featured Replies

Hi all,

 

I'm trying to create and assign a menu prompt to a Object in a Rage plugin using the following code:

 

  ulong menuprompt = Game.CallNative<ulong>(0x04F97DE45A519419); //Register Prompt
            Game.CallNative(0x5DD02A8318420DD7, menuprompt, "TEST MENU"); //Set Text
            Game.CallNative(0xB5352B7494A08258, menuprompt, Game.GetHashKey("INPUT_FRONTEND_LS")); //Set Control Action
            Game.CallNative(0xEA5CCF4EEB2F82D1, menuprompt); //Set Hold Indefintely mode
            Game.CallNative(0x2F11D3A254169EA4, menuprompt, 806749976, 0); //Assign Prompt to Entity Group
            Game.CallNative(0x315C81D760609108, menuprompt, 806749976); //Assign Prompt to Ambient Entity Group
            Game.CallNative(0xF7AA2696A22AD8B9, menuprompt); //Prompt Register End
            Game.CallNative(0x8A0FB4D03A630D21, menuprompt, true); //Set Enabled
            Game.CallNative(0x71215ACCFDE075EE, menuprompt, true); //Set Visible

 

Group ID =  806749976. I'm not having any luck at this point. Any ideas?

Edited by KMM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.