Исходник Индикаторы neverlose ( keybinds & spectator list )

Статус
В этой теме нельзя размещать новые ответы.
  • 33
  • 20
Код:
void keybinds() {
#define DEFX 300
#define DEFY 300
#define DARK_COL Color(6, 21, 39)
#define LIGHT_COL Color(8, 27, 55)
#define WHITE_COL Color(230, 230, 230)
#define WHITED_COL Color(210, 210, 210)
    if (!g_options.visuals_keybinds)
        return;
    static int x = DEFX;
    static int y = DEFY;
    static int _drag_x = DEFX;
    static int _drag_y = DEFY;
    static int w = 260;
    static bool _dragging = false;
    bool _click = false;
    if (GetAsyncKeyState(VK_LBUTTON)) _click = true;
    if (_dragging && !_click) _dragging = false;
    Vector2D _mouse_pos = g_render.mouse_position();
    if (_dragging && _click) {
        x = _mouse_pos.x - _drag_x;
        y = _mouse_pos.y - _drag_y;
    }
    if (g_render.mouse_in_region(x, y, w, 28)) {
        _dragging = true;
        _drag_x = _mouse_pos.x - x;
        _drag_y = _mouse_pos.y - y;
    }

    using namespace std;
    static Vector2D toggledSZ = g_render.get_size(g_fonts.other, "toggled");
    static Vector2D holdingSZ = g_render.get_size(g_fonts.other, "holding ON");
    vector<pair<string, bool>> inds;
    // header
    g_render.filled_box_wh(x, y, w, 28, DARK_COL);
    g_render.text(g_fonts.other, "Keybinds", x + 6, y + 4, WHITED_COL);
    // other
    if (interfaces::engine_client->is_in_game() && g_local->is_alive()) {

        if (g_options.visuals_thirdperson_toggle)
            inds.push_back(pair<string, bool>(string("thirdperson"), 0));

        if (g_options.ragebot_desync_flip_key_toggle)
            inds.push_back(pair<string, bool>(string("desync_flip"), 0)); // asd

        if (GetAsyncKeyState(g_options.ragebot_antiaim_fakeduck_key) & 0x8000)
            inds.push_back(pair<string, bool>(string("fakeduck"), 1));

        if (g_options.other_toggle_doubletaptoggle)
            inds.push_back(pair<string, bool>(string("doubletap"), 0));

        if (g_options.ragebot_baim_on_key_toggle)
            inds.push_back(pair<string, bool>(string("force_body"), 0));

        if (g_options.ragebot_hitbox_override_toggle)
            inds.push_back(pair<string, bool>(string("hitboxes_override"), 0)); // asd

        if (g_options.ragebot_damage_override_toggle)
            inds.push_back(pair<string, bool>(string("damage_override"), 0)); // asd

        int to_add = 0;
        for (auto i : inds) {
            g_render.filled_box_wh(x, y + 28 + to_add, w, 24, LIGHT_COL);
            g_render.text(g_fonts.other, i.first, x + 6, y + 28 + to_add + 6, WHITE_COL);
            g_render.text(g_fonts.other, i.second ? "holding ON" : "toggled", x + w - (i.second ? holdingSZ.x : toggledSZ.x) - 4, y + 28 + to_add + 4, WHITE_COL);
            to_add += 24;
        }
        g_render.filled_box_wh(x, y + 28 + to_add, w, 14, LIGHT_COL);
    }
}
Код:
void spectators list() {
#define DEFX 600
#define DEFY 300
    if (!g_options.visuals_spectators)
        return;
    static int x = DEFX;
    static int y = DEFY;
    static int w = 180;
    static int _drag_x = DEFX;
    static int _drag_y = DEFY;
    static bool _dragging = false;
    bool _click = false;
    if (GetAsyncKeyState(VK_LBUTTON))_click = true;
    if (_dragging && !_click)_dragging = false;
    Vector2D _mouse_pos = g_render.mouse_position();
    if (_dragging && _click) {
        x = _mouse_pos.x - _drag_x;
        y = _mouse_pos.y - _drag_y;
    } if (g_render.mouse_in_region(x, y, w, 28)) {
        _dragging = true;
        _drag_x = _mouse_pos.x - x;
        _drag_y = _mouse_pos.y - y;
    }
    using namespace std;
    // header
    g_render.filled_box_wh(x, y, w, 28, DARK_COL);
    g_render.text(g_fonts.other, "Spectators", x + 6, y + 4, WHITED_COL);
    //other
    if (!interfaces::engine_client->is_connected())
        return;
    int index = 0;

    for (int i = 0; i <= interfaces::global_vars->max_clients; i++) {
        C_BaseEntity* ent = (C_BaseEntity*)interfaces::entity_list->get_client_entity(i);
        player_info_t info;

        if (!ent) continue;
        if (ent == g_local || ent->is_dormant()) continue;

        interfaces::engine_client->get_player_info(i, &info);
        uintptr_t observer = ent->observer_target();

        if (!observer) continue;

        C_BaseEntity* _ent = (C_BaseEntity*)interfaces::entity_list->get_client_entity_from_handle(observer);
        if (_ent == nullptr) continue;
        player_info_t _info;
        interfaces::engine_client->get_player_info(i, &_info);
        char buffer[66]; sprintf_s(buffer, "%s", _info.sz_name);
        if (_ent->ent_index() == g_local->ent_index()) {
            g_render.filled_box_wh(x, y + 28 + (index * 22), w, 24, LIGHT_COL);
            g_render.text(g_fonts.other, buffer, x + 6, y + 28 + (index * 22) + 6, WHITE_COL);
            index++;
        }
        g_render.filled_box_wh(x, y + 28 + (index * 22), w, 14, LIGHT_COL);
    }
}
Посмотреть вложение 834Посмотреть вложение 835
 
  • 77
  • 18
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Уже сливали конечно, но к тому же годно. +rep
 
  • 5
  • 0
Контакты для связи отсутствуют.
Код:
void keybinds() {
#define DEFX 300
#define DEFY 300
#define DARK_COL Color(6, 21, 39)
#define LIGHT_COL Color(8, 27, 55)
#define WHITE_COL Color(230, 230, 230)
#define WHITED_COL Color(210, 210, 210)
    if (!g_options.visuals_keybinds)
        return;
    static int x = DEFX;
    static int y = DEFY;
    static int _drag_x = DEFX;
    static int _drag_y = DEFY;
    static int w = 260;
    static bool _dragging = false;
    bool _click = false;
    if (GetAsyncKeyState(VK_LBUTTON)) _click = true;
    if (_dragging && !_click) _dragging = false;
    Vector2D _mouse_pos = g_render.mouse_position();
    if (_dragging && _click) {
        x = _mouse_pos.x - _drag_x;
        y = _mouse_pos.y - _drag_y;
    }
    if (g_render.mouse_in_region(x, y, w, 28)) {
        _dragging = true;
        _drag_x = _mouse_pos.x - x;
        _drag_y = _mouse_pos.y - y;
    }

    using namespace std;
    static Vector2D toggledSZ = g_render.get_size(g_fonts.other, "toggled");
    static Vector2D holdingSZ = g_render.get_size(g_fonts.other, "holding ON");
    vector<pair<string, bool>> inds;
    // header
    g_render.filled_box_wh(x, y, w, 28, DARK_COL);
    g_render.text(g_fonts.other, "Keybinds", x + 6, y + 4, WHITED_COL);
    // other
    if (interfaces::engine_client->is_in_game() && g_local->is_alive()) {

        if (g_options.visuals_thirdperson_toggle)
            inds.push_back(pair<string, bool>(string("thirdperson"), 0));

        if (g_options.ragebot_desync_flip_key_toggle)
            inds.push_back(pair<string, bool>(string("desync_flip"), 0)); // asd

        if (GetAsyncKeyState(g_options.ragebot_antiaim_fakeduck_key) & 0x8000)
            inds.push_back(pair<string, bool>(string("fakeduck"), 1));

        if (g_options.other_toggle_doubletaptoggle)
            inds.push_back(pair<string, bool>(string("doubletap"), 0));

        if (g_options.ragebot_baim_on_key_toggle)
            inds.push_back(pair<string, bool>(string("force_body"), 0));

        if (g_options.ragebot_hitbox_override_toggle)
            inds.push_back(pair<string, bool>(string("hitboxes_override"), 0)); // asd

        if (g_options.ragebot_damage_override_toggle)
            inds.push_back(pair<string, bool>(string("damage_override"), 0)); // asd

        int to_add = 0;
        for (auto i : inds) {
            g_render.filled_box_wh(x, y + 28 + to_add, w, 24, LIGHT_COL);
            g_render.text(g_fonts.other, i.first, x + 6, y + 28 + to_add + 6, WHITE_COL);
            g_render.text(g_fonts.other, i.second ? "holding ON" : "toggled", x + w - (i.second ? holdingSZ.x : toggledSZ.x) - 4, y + 28 + to_add + 4, WHITE_COL);
            to_add += 24;
        }
        g_render.filled_box_wh(x, y + 28 + to_add, w, 14, LIGHT_COL);
    }
}
Код:
void spectators list() {
#define DEFX 600
#define DEFY 300
    if (!g_options.visuals_spectators)
        return;
    static int x = DEFX;
    static int y = DEFY;
    static int w = 180;
    static int _drag_x = DEFX;
    static int _drag_y = DEFY;
    static bool _dragging = false;
    bool _click = false;
    if (GetAsyncKeyState(VK_LBUTTON))_click = true;
    if (_dragging && !_click)_dragging = false;
    Vector2D _mouse_pos = g_render.mouse_position();
    if (_dragging && _click) {
        x = _mouse_pos.x - _drag_x;
        y = _mouse_pos.y - _drag_y;
    } if (g_render.mouse_in_region(x, y, w, 28)) {
        _dragging = true;
        _drag_x = _mouse_pos.x - x;
        _drag_y = _mouse_pos.y - y;
    }
    using namespace std;
    // header
    g_render.filled_box_wh(x, y, w, 28, DARK_COL);
    g_render.text(g_fonts.other, "Spectators", x + 6, y + 4, WHITED_COL);
    //other
    if (!interfaces::engine_client->is_connected())
        return;
    int index = 0;

    for (int i = 0; i <= interfaces::global_vars->max_clients; i++) {
        C_BaseEntity* ent = (C_BaseEntity*)interfaces::entity_list->get_client_entity(i);
        player_info_t info;

        if (!ent) continue;
        if (ent == g_local || ent->is_dormant()) continue;

        interfaces::engine_client->get_player_info(i, &info);
        uintptr_t observer = ent->observer_target();

        if (!observer) continue;

        C_BaseEntity* _ent = (C_BaseEntity*)interfaces::entity_list->get_client_entity_from_handle(observer);
        if (_ent == nullptr) continue;
        player_info_t _info;
        interfaces::engine_client->get_player_info(i, &_info);
        char buffer[66]; sprintf_s(buffer, "%s", _info.sz_name);
        if (_ent->ent_index() == g_local->ent_index()) {
            g_render.filled_box_wh(x, y + 28 + (index * 22), w, 24, LIGHT_COL);
            g_render.text(g_fonts.other, buffer, x + 6, y + 28 + (index * 22) + 6, WHITE_COL);
            index++;
        }
        g_render.filled_box_wh(x, y + 28 + (index * 22), w, 14, LIGHT_COL);
    }
}
Посмотреть вложение 834Посмотреть вложение 835
Можешь это сделать под луа никсвара?
 
  • 25
  • 3
Контакты для связи отсутствуют.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Это же на луа аддон ?
 
  • 25
  • 3
Контакты для связи отсутствуют.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Ну чел ты гений ты вообще слышал про создание читов хотя автор тоже тему криво спаситил и не написал что для csgo simple
Мне надо было хоть что-то написать, мне похуй на это.
 
Статус
В этой теме нельзя размещать новые ответы.
Активность
Пока что здесь никого нет

Похожие темы

Сверху Снизу