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.

Featured Replies

Posted

Hi, I am currently looking for a way to change the font when drawing text. I know there is a library for that in the downloads section on this site, but in doesn't work for some reason. I was looking for a native or something like HUD::SET_TEXT_FONT but there is nothing like that, so I am curious how to do it with natives.

Edited by bolmin

       void drawstring(std::string string, float X, float Y)
        {
            std::string Template = "<FONT FACE='$title' COLOR='#%04X'>" + string + "</FONT>";
            const char* InsertTemplate= MISC::_CREATE_VAR_STRING(10, "LITERAL_STRING", _strdup(Template.c_str()));
            HUD::_DISPLAY_TEXT(MISC::_CREATE_VAR_STRING(42, "COLOR_STRING", 0, InsertTemplate), X, Y);
        }

 

this is how you draw text with font, just change the $title to any other font names, can be found using open iv

Edited by iJamesss

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.