Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace UIDEBUG
- {
- // Note: you must use VAR_STRING
- static void _BG_DISPLAY_TEXT(const char* text, float x, float y) { invoke<Void>(0x16794E044C9EFB58, text, x, y); } // 0x16794E044C9EFB58 b1355
- static void _BG_SET_TEXT_SCALE(float scaleX, float scaleY) { invoke<Void>(0xA1253A3C870B6843, scaleX, scaleY); } // 0xA1253A3C870B6843 b1355
- static void _BG_SET_TEXT_COLOR(int red, int green, int blue, int alpha) { invoke<Void>(0x16FA5CE47F184F1E, red, green, blue, alpha); } // 0x16FA5CE47F184F1E b1355
- }
- UIDEBUG::_BG_SET_TEXT_SCALE(font_size, font_size);
- UIDEBUG::_BG_SET_TEXT_COLOR(r, g, b, a);
- auto str = MISC::VAR_STRING(10, "LITERAL_STRING", text.c_str());
- UIDEBUG::_BG_DISPLAY_TEXT(str, x, y);
- ==================================
- const char*InsertedTemplate=MISC::_CREATE_VAR_STRING(10,"LITERAL_STRING", text);
- NEWUI::_0x16794E044C9EFB58(InsertedTemplate, x, y);
Add Comment
Please, Sign In to add comment