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

67 lines
896 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();
// System
update_player_structs();
update_screen_sizes();
// Custom Guns
2021-01-17 00:40:38 +01:00
cage_gun();
2021-01-14 22:24:30 +01:00
delete_gun();
gravity_gun();
2021-01-15 01:24:42 +01:00
money_gun();
repair_gun();
vehicle_gun();
// Tunable
disable_phone();
no_idle_kick();
// Self
god_mode();
never_wanted();
noclip();
no_ragdoll();
off_radar();
super_sprint();
spoof_rank();
// Vehicle
handling();
no_bike_fall();
speedo_meter();
sticky_tyres();
// World
population_modifiers();
// Util
spectate_player();
2021-01-17 00:40:38 +01:00
// Protections
replay_interface();
//version_mismatch();
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();
}
}
}