feat(Features): Added reveal players looped feature
This commit is contained in:
parent
10e925f42b
commit
55767d1625
@ -19,6 +19,7 @@ namespace big
|
|||||||
no_idle_kick();
|
no_idle_kick();
|
||||||
no_ragdoll();
|
no_ragdoll();
|
||||||
off_radar();
|
off_radar();
|
||||||
|
reveal_players();
|
||||||
spoof_rank();
|
spoof_rank();
|
||||||
sticky_tyres();
|
sticky_tyres();
|
||||||
super_sprint();
|
super_sprint();
|
||||||
|
@ -31,6 +31,7 @@ namespace big
|
|||||||
void no_idle_kick();
|
void no_idle_kick();
|
||||||
void no_ragdoll();
|
void no_ragdoll();
|
||||||
void off_radar();
|
void off_radar();
|
||||||
|
void reveal_players();
|
||||||
void spoof_rank();
|
void spoof_rank();
|
||||||
void sticky_tyres();
|
void sticky_tyres();
|
||||||
void super_sprint();
|
void super_sprint();
|
||||||
|
14
BigBaseV2/src/features/reveal_players.cpp
Normal file
14
BigBaseV2/src/features/reveal_players.cpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include "features.hpp"
|
||||||
|
#include "script_global.hpp"
|
||||||
|
|
||||||
|
namespace big
|
||||||
|
{
|
||||||
|
void features::reveal_players()
|
||||||
|
{
|
||||||
|
if (g_settings.options["reveal_players"].get<bool>())
|
||||||
|
{
|
||||||
|
*script_global(2425869).at(1 + (g_playerId * 443)).at(207).as<int*>() = 1;
|
||||||
|
*script_global(2440049).at(71).as<int*>() = NETWORK::GET_NETWORK_TIME() + 999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -9,6 +9,11 @@ namespace big
|
|||||||
{
|
{
|
||||||
if (ImGui::BeginTabItem("Network"))
|
if (ImGui::BeginTabItem("Network"))
|
||||||
{
|
{
|
||||||
|
if (ImGui::Checkbox("Reveal Players", g_settings.options["reveal_players"].get<bool*>()))
|
||||||
|
g_settings.save();
|
||||||
|
|
||||||
|
ImGui::Separator();
|
||||||
|
|
||||||
ImGui::Text("Time: ");
|
ImGui::Text("Time: ");
|
||||||
ImGui::SliderInt("Hour:", &g_temp.time.hour, 0, 23);
|
ImGui::SliderInt("Hour:", &g_temp.time.hour, 0, 23);
|
||||||
ImGui::SliderInt("Minutes:", &g_temp.time.minutes, 0, 59);
|
ImGui::SliderInt("Minutes:", &g_temp.time.minutes, 0, 59);
|
||||||
|
@ -21,6 +21,7 @@ namespace big
|
|||||||
"off_radar": false,
|
"off_radar": false,
|
||||||
"ragdoll": false,
|
"ragdoll": false,
|
||||||
"rank": 6969,
|
"rank": 6969,
|
||||||
|
"reveal_players": false,
|
||||||
"spoof_rank": false,
|
"spoof_rank": false,
|
||||||
"sticky_tyres": false,
|
"sticky_tyres": false,
|
||||||
"super_sprint": false
|
"super_sprint": false
|
||||||
|
Reference in New Issue
Block a user