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.
YimMenu/src/util/notify.hpp
maybegreat48 7e7bcb155a
Refactor and fix send chat (#2864)
* feat(chat): refactor and fix send chat
* fix(chat): fixes
* fix(chat): fix team chat

Co-authored-by: DayibBaba <79384354+DayibBaba@users.noreply.github.com>
2024-03-23 17:37:51 +01:00

30 lines
816 B
C++

#pragma once
#include "gta/enums.hpp"
#include "natives.hpp"
#include "network/CNetGamePlayer.hpp"
#include "network/ChatData.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "services/players/player_service.hpp"
#include "fiber_pool.hpp"
#include "hooking/hooking.hpp"
#include "chat.hpp"
#include <script/HudColor.hpp>
namespace big::notify
{
void above_map(std::string_view text);
void crash_blocked(CNetGamePlayer* player, const char* crash);
// Shows a busy spinner till the value at the address equals the value passed or if timeout is hit
void busy_spinner(std::string_view text, int* address, int value, int timeout = 15);
void show_subtitle(std::string_view text, int ms = 2000);
void display_help_text(std::string_view text);
void player_joined(CNetGamePlayer* net_game_player);
}