mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-03 16:13:36 +08:00
feat(Features): Added spoof rank looped feature
This commit is contained in:
parent
6b620a45fe
commit
7cf6813c29
@ -17,6 +17,7 @@ namespace big
|
|||||||
no_idle_kick();
|
no_idle_kick();
|
||||||
no_ragdoll();
|
no_ragdoll();
|
||||||
off_radar();
|
off_radar();
|
||||||
|
spoof_rank();
|
||||||
super_sprint();
|
super_sprint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ namespace big
|
|||||||
void no_idle_kick();
|
void no_idle_kick();
|
||||||
void no_ragdoll();
|
void no_ragdoll();
|
||||||
void off_radar();
|
void off_radar();
|
||||||
|
void spoof_rank();
|
||||||
void super_sprint();
|
void super_sprint();
|
||||||
|
|
||||||
void update_screen_sizes();
|
void update_screen_sizes();
|
||||||
|
18
BigBaseV2/src/features/spoof_rank.cpp
Normal file
18
BigBaseV2/src/features/spoof_rank.cpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#include "features.hpp"
|
||||||
|
#include "script_global.hpp"
|
||||||
|
|
||||||
|
namespace big
|
||||||
|
{
|
||||||
|
void features::spoof_rank()
|
||||||
|
{
|
||||||
|
bool bSpoofRank = g_settings.options["spoof_rank"].get<bool*>();
|
||||||
|
|
||||||
|
if (bSpoofRank)
|
||||||
|
{
|
||||||
|
QUEUE_JOB_BEGIN_CLAUSE()
|
||||||
|
{
|
||||||
|
*script_global(1590682).at(PLAYER::PLAYER_ID(), 883).at(211).at(6).as<int*>() = g_settings.options["rank"].get<int>();
|
||||||
|
}QUEUE_JOB_END_CLAUSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user