feat(GUI): Added custom text to menu

This commit is contained in:
Yimura 2021-02-04 18:39:47 +01:00
parent 7d077dc9f7
commit eebeaf5a96
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -11,6 +11,7 @@
#include "renderer.hpp" #include "renderer.hpp"
#include "script.hpp" #include "script.hpp"
#include "features/notify.hpp" #include "features/notify.hpp"
#include "features/custom_text.hpp"
#include "gui/window.hpp" #include "gui/window.hpp"
@ -125,6 +126,10 @@ namespace big
void gui::script_init() void gui::script_init()
{ {
g_custom_text->add_text(RAGE_JOAAT("HUD_JOINING"), "Yim's Menu");
g_custom_text->add_text(RAGE_JOAAT("HUD_TRANSP"), "Transaction's fucked...");
g_custom_text->add_text(RAGE_JOAAT("HUD_QUITTING"), "Leaving are we?");
features::notify::above_map("Yim's Menu is ready."); features::notify::above_map("Yim's Menu is ready.");
} }