This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/BigBaseV2/src/features.cpp

47 lines
694 B
C++
Raw Normal View History

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()
{
g_playerId = PLAYER::PLAYER_ID();
update_player_structs();
update_screen_sizes();
2021-01-10 16:19:40 +01:00
g_rid_joiner.look_for_session();
disable_phone();
god_mode();
2021-01-10 16:19:40 +01:00
join_message();
never_wanted();
no_bike_fall();
no_idle_kick();
no_ragdoll();
off_radar();
population_modifiers();
reveal_players();
spectate_player();
speedo_meter();
spoof_rank();
sticky_tyres();
super_sprint();
2019-03-21 20:18:31 +01:00
}
void features::script_func()
{
while (true)
{
TRY_CLAUSE
{
run_tick();
}
EXCEPT_CLAUSE
2019-03-21 20:18:31 +01:00
script::get_current()->yield();
}
}
}