-
Автор темы
- #1
got this ideea from an older csgo legit cheat provider, so i created it for my kernel
its a nice legit cheating feature and i think i might help others with it
enjoy
video:
contact: idax86
its a nice legit cheating feature and i think i might help others with it
enjoy
C++:
// sound system
// thanks to exitium for this ideea
static float original[ 64 ]{ 0.f };
static bool show_players = false;
// we detected a new sound
auto distance = sdk::g::local_pawn->game_scene_node( )->vec_origin( ).dist_to( node->vec_origin( ) ) / 10;
// lambda
auto run_esp = [ & ]( ) -> void {
std::this_thread::sleep_for( std::chrono::seconds( 1 ) );
show_players = false;
};
// limit by distance
// add the callback !show_Players so we dont update when our esp is shown
if ( distance < 100 && !show_players ) {
// we can now run it
if ( original[ ent_index ] != pawn->emit_sound( ) ) {
show_players = true;
// update data
original[ ent_index ] = pawn->emit_sound( );
// create a thread, detach it from main so it doesnt affect the main one, wait 1 second and reset show_players
std::thread( run_esp ).detach( );
}
}
if ( !show_players ) {
// reset counter
return rect_t{};
}
Пожалуйста, авторизуйтесь для просмотра ссылки.
contact: idax86