View Single Post
JZServices
Member
Join Date: Jul 2013
Old 02-04-2021 , 19:33   Re: [CS:GO] Hitbox Changer
Reply With Quote #12

The plugin has some unintended effects with the the GetClientAimTarget(client, true) function.
https://sm.alliedmods.net/new-api/sd...lientAimTarget

The GetClientAimTarget returns -1 (no entity is being aimed at) when using a model that has had the function SetNumHitboxes(modelIndex, -1); used. I have also tried setting one hitbox with SetNumHitboxes(modelIndex, 1); but the GetClientAimTarget is always -1.

Have you seen this? Any ideas on how to use GetClientAimTarget with this plugin?

Edit: I tested on my server with the lateset github release compiled with the windows extension release that was precompiled.

Thank you!
JZ

Last edited by JZServices; 02-04-2021 at 19:34.
JZServices is offline