This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.

26 lines
609 B
C++
Raw Normal View History

#include "notify.hpp"
#include "natives.hpp"
namespace big
{
void notify::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);
}
void notify::blocked_event(const char* name, Player player)
{
char msg[128];
strcpy(msg, "~g~BLOCKED RECEIVED EVENT~s~\n~b~");
strcat(msg, name);
strcat(msg, "~s~\nFrom: <C>");
strcat(msg, PLAYER::GET_PLAYER_NAME(player));
strcat(msg, "</C>");
above_map(msg);
}
}