2022-10-21 22:05:39 +02:00
|
|
|
#include "gui/components/components.hpp"
|
|
|
|
#include "natives.hpp"
|
|
|
|
#include "util/system.hpp"
|
2022-12-06 16:12:02 +00:00
|
|
|
#include "util/misc.hpp"
|
2022-10-21 22:05:39 +02:00
|
|
|
#include "view_debug.hpp"
|
2022-11-24 21:49:05 +00:00
|
|
|
#include "network/Network.hpp"
|
|
|
|
#include "script.hpp"
|
|
|
|
#include "gta/joaat.hpp"
|
2022-12-06 16:12:02 +00:00
|
|
|
#include "script_global.hpp"
|
|
|
|
#include "gta_util.hpp"
|
2022-10-21 22:05:39 +02:00
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void debug::misc()
|
|
|
|
{
|
|
|
|
if (ImGui::BeginTabItem("Misc"))
|
|
|
|
{
|
|
|
|
if (components::button("Dump entrypoints"))
|
|
|
|
{
|
|
|
|
system::dump_entry_points();
|
|
|
|
}
|
|
|
|
|
|
|
|
components::button("Network Bail", []
|
|
|
|
{
|
|
|
|
NETWORK::NETWORK_BAIL(16, 0, 0);
|
|
|
|
});
|
2022-12-06 16:12:02 +00:00
|
|
|
|
|
|
|
components::button("Remove from Bad Sport", []
|
|
|
|
{
|
|
|
|
STATS::STAT_SET_FLOAT(RAGE_JOAAT("mpply_overall_badsport"), 0.0f, TRUE);
|
|
|
|
STATS::STAT_SET_BOOL(RAGE_JOAAT("mpply_was_i_bad_sport"), FALSE, TRUE);
|
|
|
|
});
|
|
|
|
|
|
|
|
ImGui::EndTabItem();
|
2022-10-21 22:05:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|