2019-03-21 20:18:31 +01:00
|
|
|
#include "features.hpp"
|
|
|
|
#include "logger.hpp"
|
|
|
|
#include "natives.hpp"
|
|
|
|
#include "script.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void features::run_tick()
|
|
|
|
{
|
2020-12-26 19:18:29 +01:00
|
|
|
g_playerId = PLAYER::PLAYER_ID();
|
|
|
|
|
2020-12-26 19:26:10 +01:00
|
|
|
update_player_structs();
|
|
|
|
update_screen_sizes();
|
|
|
|
|
2020-12-26 18:13:47 +01:00
|
|
|
god_mode();
|
2020-12-26 19:34:05 +01:00
|
|
|
never_wanted();
|
2020-12-26 19:44:35 +01:00
|
|
|
no_idle_kick();
|
2020-12-26 18:24:08 +01:00
|
|
|
no_ragdoll();
|
2020-12-26 19:39:24 +01:00
|
|
|
off_radar();
|
2020-12-26 19:48:00 +01:00
|
|
|
spoof_rank();
|
2020-12-26 19:39:24 +01:00
|
|
|
super_sprint();
|
2019-03-21 20:18:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void features::script_func()
|
|
|
|
{
|
|
|
|
while (true)
|
|
|
|
{
|
2020-02-22 18:37:42 -05:00
|
|
|
TRY_CLAUSE
|
|
|
|
{
|
|
|
|
run_tick();
|
|
|
|
}
|
|
|
|
EXCEPT_CLAUSE
|
2019-03-21 20:18:31 +01:00
|
|
|
script::get_current()->yield();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|