Open strteamservidores opened 1 year ago
solution find on a forum below
**The solution is very simple, if the skin uses the old gun model, you have to call SetMeshGroupMask with meshGroupMask=2 on both the weapon and the view model.
SetMeshGroupMask takes the CGameSceneNode/CSkeletonInstance pointer and meshGroupMask as parameters. Code: E8? ? ? ? 8B 45 D0 48 8B 55 D8 (relative) code: https://github.com/bruhmoment21/cs2-sdk/blob/18fb2f4931c755101207bf4c5914d40842ab7587/cs2cheat/src/game/skins/skin_changer.cpp#L82-L83**
I have this fix but I don't know how to implement it in the code, if anyone knows I would appreciate it.
solution find on a forum below
**The solution is very simple, if the skin uses the old gun model, you have to call SetMeshGroupMask with meshGroupMask=2 on both the weapon and the view model.
SetMeshGroupMask takes the CGameSceneNode/CSkeletonInstance pointer and meshGroupMask as parameters. Code: E8? ? ? ? 8B 45 D0 48 8B 55 D8 (relative) code: https://github.com/bruhmoment21/cs2-sdk/blob/18fb2f4931c755101207bf4c5914d40842ab7587/cs2cheat/src/game/skins/skin_changer.cpp#L82-L83**
I have this fix but I don't know how to implement it in the code, if anyone knows I would appreciate it.