mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
feat(Features): Added reveal players looped feature
This commit is contained in:
parent
3d527ba68c
commit
17add5a874
@ -19,6 +19,7 @@ namespace big
|
||||
no_idle_kick();
|
||||
no_ragdoll();
|
||||
off_radar();
|
||||
reveal_players();
|
||||
spoof_rank();
|
||||
sticky_tyres();
|
||||
super_sprint();
|
||||
|
@ -31,6 +31,7 @@ namespace big
|
||||
void no_idle_kick();
|
||||
void no_ragdoll();
|
||||
void off_radar();
|
||||
void reveal_players();
|
||||
void spoof_rank();
|
||||
void sticky_tyres();
|
||||
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::Checkbox("Reveal Players", g_settings.options["reveal_players"].get<bool*>()))
|
||||
g_settings.save();
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Time: ");
|
||||
ImGui::SliderInt("Hour:", &g_temp.time.hour, 0, 23);
|
||||
ImGui::SliderInt("Minutes:", &g_temp.time.minutes, 0, 59);
|
||||
|
@ -21,6 +21,7 @@ namespace big
|
||||
"off_radar": false,
|
||||
"ragdoll": false,
|
||||
"rank": 6969,
|
||||
"reveal_players": false,
|
||||
"spoof_rank": false,
|
||||
"sticky_tyres": false,
|
||||
"super_sprint": false
|
||||
|
Loading…
Reference in New Issue
Block a user