2021-07-23 23:00:11 +02:00
|
|
|
#include "main_tabs.hpp"
|
2021-07-26 21:18:19 +02:00
|
|
|
#include "fiber_pool.hpp"
|
|
|
|
#include "script.hpp"
|
2021-07-23 23:00:11 +02:00
|
|
|
#include "script_global.hpp"
|
|
|
|
#include "util/player.hpp"
|
2021-05-19 11:28:13 +02:00
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void tab_main::tab_self()
|
|
|
|
{
|
|
|
|
if (ImGui::BeginTabItem("Self"))
|
|
|
|
{
|
2021-07-23 23:00:11 +02:00
|
|
|
if (ImGui::Button("Suicide"))
|
|
|
|
{
|
2021-07-26 21:18:19 +02:00
|
|
|
QUEUE_JOB_BEGIN_CLAUSE()
|
|
|
|
{
|
|
|
|
ENTITY::SET_ENTITY_HEALTH(PLAYER::PLAYER_PED_ID(), 0, 0);
|
|
|
|
}QUEUE_JOB_END_CLAUSE
|
2021-07-23 23:00:11 +02:00
|
|
|
}
|
|
|
|
|
2021-05-19 18:10:59 +02:00
|
|
|
ImGui::Checkbox("God Mode", &g.self.godmode);
|
2021-05-21 01:16:33 +02:00
|
|
|
ImGui::Checkbox("Off Radar", &g.self.off_radar);
|
2021-09-21 01:44:24 +02:00
|
|
|
ImGui::Checkbox("Free Cam", &g.self.free_cam);
|
2021-05-19 14:36:21 +02:00
|
|
|
ImGui::Checkbox("No Clip", &g.self.noclip);
|
2021-05-21 00:52:59 +02:00
|
|
|
ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll);
|
2021-05-19 11:28:13 +02:00
|
|
|
|
2021-07-26 21:18:19 +02:00
|
|
|
if (ImGui::TreeNode("Frame Flags"))
|
|
|
|
{
|
|
|
|
ImGui::Checkbox("Explosive Ammo", &g.self.frame_flags.explosive_ammo);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Checkbox("Fire Ammo", &g.self.frame_flags.fire_ammo);
|
|
|
|
|
|
|
|
ImGui::Checkbox("Explosive Melee", &g.self.frame_flags.explosive_melee);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Checkbox("Super Jump", &g.self.frame_flags.super_jump);
|
|
|
|
|
|
|
|
ImGui::TreePop();
|
|
|
|
}
|
|
|
|
|
2021-07-28 00:46:00 +02:00
|
|
|
if (ImGui::TreeNode("Police"))
|
|
|
|
{
|
|
|
|
ImGui::Checkbox("Never Wanted", &g.self.never_wanted);
|
|
|
|
|
|
|
|
if (!g.self.never_wanted)
|
|
|
|
{
|
|
|
|
ImGui::Text("Wanted Level");
|
|
|
|
ImGui::SliderInt("###wanted_level", &g.self.wanted_level, 0, 5);
|
|
|
|
}
|
|
|
|
|
|
|
|
ImGui::TreePop();
|
|
|
|
}
|
|
|
|
|
2021-05-19 11:28:13 +02:00
|
|
|
ImGui::EndTabItem();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|