mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 23:17:52 +08:00
16 lines
326 B
C++
16 lines
326 B
C++
#include "features.hpp"
|
|
#include "script_global.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void features::no_idle_kick()
|
|
{
|
|
bool bNoIdleKick = g_settings.options["no_idle_kick"].get<bool>();
|
|
|
|
if (bNoIdleKick)
|
|
{
|
|
*script_global(1377236).at(1165).as<int*>() = -1;
|
|
*script_global(1377236).at(1149).as<int*>() = -1;
|
|
}
|
|
}
|
|
} |