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

30 lines
816 B
C++
Raw Normal View History

#pragma once
#include "gta/enums.hpp"
#include "natives.hpp"
#include "network/CNetGamePlayer.hpp"
#include "network/ChatData.hpp"
#include "pointers.hpp"
2022-01-18 02:05:38 +01:00
#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);
2021-05-20 20:27:07 +02:00
void crash_blocked(CNetGamePlayer* player, const char* crash);
2022-01-18 02:05:38 +01:00
// 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);
2023-06-21 10:01:00 +02:00
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);
}