feat(Notify): Added Above Map notification
This commit is contained in:
parent
c7408ac9c4
commit
0415947771
12
BigBaseV2/src/features/notify.cpp
Normal file
12
BigBaseV2/src/features/notify.cpp
Normal 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);
|
||||
}
|
||||
}
|
7
BigBaseV2/src/features/notify.hpp
Normal file
7
BigBaseV2/src/features/notify.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "natives.hpp"
|
||||
|
||||
namespace big::features::notify
|
||||
{
|
||||
static void above_map(const char* text);
|
||||
}
|
Reference in New Issue
Block a user