Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Force Crosshair for LW

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
27 Сен 2020
Сообщения
8
Реакции
0
Just a small post for Force Crosshair for LW
Код:
Expand Collapse Copy
// This comes in void __fastcall hooks::hooked_painttraverse btw and just create a bool for the checkbox
 auto weapon_debug_spread_show = m_cvar()->FindVar(crypt_str("weapon_debug_spread_show"));
if (g_ctx.local()->is_alive())
 weapon_debug_spread_show->SetValue(g_cfg.misc.forcecrosshair && !g_ctx.local()->m_bIsScoped() ? 3 : 0);
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
1607705908970.png

?
 
Just a small post for Force Crosshair for LW
Код:
Expand Collapse Copy
// This comes in void __fastcall hooks::hooked_painttraverse btw and just create a bool for the checkbox
auto weapon_debug_spread_show = m_cvar()->FindVar(crypt_str("weapon_debug_spread_show"));
if (g_ctx.local()->is_alive())
weapon_debug_spread_show->SetValue(g_cfg.misc.forcecrosshair && !g_ctx.local()->m_bIsScoped() ? 3 : 0);
why not just hook the GetBool function and return 3 (yes ironically that works) that way you dont leave a mark as this method will be detected on almost all smac protected servers
 
Назад
Сверху Снизу