feat(Notify): Added Above Map notification

This commit is contained in:
Yimura 2020-12-26 17:01:25 +01:00
parent c7408ac9c4
commit 0415947771
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78
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);
}