feat(Notify): Added Above Map notification

This commit is contained in:
Yimura 2020-12-26 17:01:25 +01:00
parent 90a832a620
commit 821c7a2309
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#include "notify.hpp"
namespace big::features::notify
{
void above_map(const char* text)
{
HUD::SET_TEXT_OUTLINE();
HUD::BEGIN_TEXT_COMMAND_THEFEED_POST("STRING");
HUD::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
HUD::END_TEXT_COMMAND_THEFEED_POST_TICKER(false, false);
}
}

View File

@ -0,0 +1,7 @@
#pragma once
#include "natives.hpp"
namespace big::features::notify
{
static void above_map(const char* text);
}