-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Открываем Esp.cpp и ищем
Пожалуйста, зарегистрируйтесь или авторизуйтесь, чтобы увидеть содержимое.
И заменяем на это
Код:
if (Settings::Esp::esp_WorldWeapons && !strstr(pModelName, "models/weapons/w_eq_")
&& !strstr(pModelName, "models/weapons/w_ied"))
{
if (strstr(pModelName, "models/weapons/w_") && strstr(pModelName, "_dropped.mdl"))
{
string WeaponName = pModelName + 17;
WeaponName[WeaponName.size() - 12] = '\0';
if (strstr(pModelName, "models/weapons/w_pist_223") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "USP-S";
}
else if (strstr(pModelName, "models/weapons/w_pist_cz_75") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "CZ-75";
}
else if (strstr(pModelName, "models/weapons/w_pist_cz_75") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Deagle";
}
else if (strstr(pModelName, "models/weapons/w_pist_deagle") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "CZ-75";
}
else if (strstr(pModelName, "models/weapons/w_pist_elite") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Dual Berettas";
}
else if (strstr(pModelName, "models/weapons/w_pist_fiveseven") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Five-Seven";
}
else if (strstr(pModelName, "models/weapons/w_pist_glock18") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Glock-18";
}
else if (strstr(pModelName, "models/weapons/w_pist_hkp2000") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "P2000";
}
else if (strstr(pModelName, "models/weapons/w_pist_p250") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "P250";
}
else if (strstr(pModelName, "models/weapons/w_pist_revolver") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "R8 Revolver";
}
else if (strstr(pModelName, "models/weapons/w_pist_tec9") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Tec-9";
}
else if (strstr(pModelName, "models/weapons/w_rif_aug") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "AUG";
}
else if (strstr(pModelName, "models/weapons/w_rif_ak47") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "AK-47";
}
else if (strstr(pModelName, "models/weapons/w_rif_famas") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Famas";
}
else if (strstr(pModelName, "models/weapons/w_rif_galilar") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Galil";
}
else if (strstr(pModelName, "models/weapons/w_rif_m4a1") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "M4A4";
}
else if (strstr(pModelName, "models/weapons/w_rif_m4a1_s") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "M4A1-S";
}
else if (strstr(pModelName, "models/weapons/w_rif_sg556") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "SG 553";
}
else if (strstr(pModelName, "models/weapons/w_snip_awp") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "AWP";
}
else if (strstr(pModelName, "models/weapons/w_snip_g3sg1") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "G3SG1";
}
else if (strstr(pModelName, "models/weapons/w_snip_scar20") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "SCAR-20";
}
else if (strstr(pModelName, "models/weapons/w_snip_ssg08") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "SSG 08";
}
else if (strstr(pModelName, "models/weapons/w_shot_mag7") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "MAG-7";
}
else if (strstr(pModelName, "models/weapons/w_shot_nova") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Nova";
}
else if (strstr(pModelName, "models/weapons/w_shot_sawedoff") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Sawed-Off";
}
else if (strstr(pModelName, "models/weapons/w_shot_xm1014") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "XM1014";
}
else if (strstr(pModelName, "models/weapons/w_smg_bizon") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "PP-Bizon";
}
else if (strstr(pModelName, "models/weapons/w_smg_mac10") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "MAC-10";
}
else if (strstr(pModelName, "models/weapons/w_smg_mp7") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "MP7";
}
else if (strstr(pModelName, "models/weapons/w_smg_mp9") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "MP9";
}
else if (strstr(pModelName, "models/weapons/w_smg_p90") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "P90";
}
else if (strstr(pModelName, "models/weapons/w_smg_ump45") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "UMP-45";
}
else if (strstr(pModelName, "models/weapons/w_mach_m249") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "M249";
}
else if (strstr(pModelName, "models/weapons/w_mach_negev") && strstr(pModelName, "_dropped.mdl"))
{
WeaponName = "Negev";
}
g_pRender->Text((int)vEntScreen.x, (int)vEntScreen.y, true, true, Color::White(),
WeaponName.c_str());
}
}
Код:
https://smef.pw/forum/showthread.php?tid=730