Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

C++ Function Hide Weapon Inspect on Demo/Live Game (keep your skinchanger hidden)

crds

Newbie HvHer
User ID:
174364
Messages:
3
Reactions:
1
Badges:
2
REP:
−0/0+
Level:
10
Most people with skinchangers get called out for being blatant cheaters because they inspect-spam their default weapons. This code snippet prevents your inspect from showing up in-game and on demos, but still give you the inspect locally.

The signature is for Linux (since I'm on Linux) but you could probably find the Windows-equivalent signature and offsets to make this work.

Block Inspect:
Expand Collapse Copy
// 55 48 89 E5 41 54 53 48 8B 07 48 89 FB FF 90 ? ? ? ? 41 89 C4 84 C0 74 ? 66 81 BB ? ? ? ? E8 03 @ libclient.so
using InspectFn = uint64_t(*)(uintptr_t weapon);

constexpr uint64_t IN_LOOKATWEAPON = 0x800000000;

// CreateMove (after original)
bool held = cmd->buttons & IN_LOOKATWEAPON;
StripButton(cmd, IN_LOOKATWEAPON);
if (HideInspect && held && !wasHeld)
    Inspect(activeWeapon);
wasHeld = held;

// FrameStageNotify (after original), m_iWeaponGameplayAnimState == 1000 while inspecting
if (inspecting && weapon->m_iWeaponGameplayAnimState() == serverState)
    weapon->m_iWeaponGameplayAnimState() = 1000;

Enjoy inspecting your weapons and not being called out for inspect whoring the default CT/T knife ever again.
 
  • Like
Reactions: NAZIHEILHITLER
I always inspect my weapons a lot no matter if they have a skin or not but cool
I've just been watching neokCS on YouTube and it seems the most blatant way (outside of gameplay) that he's catching closet cheaters is when they inspect their default knife, granted it's not a bulletproof method of catching someone cheating/skinchanging, but I still decided to see if it's possible to block them seeing the inspect just for the fun of it.
 

Who has read this thread (Total: 7) in last 1 hours View details