Thread
:
[CS:GO] Hitbox Changer
View Single Post
PikaJew
Junior Member
Join Date: Mar 2020
02-05-2021 , 20:12 Re: [CS:GO] Hitbox Changer
#
13
Quote:
Originally Posted by
JZServices
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
The way client aim target works is by tracing a ray that collides with a hitbox, so if there is no hitbox it wont work. If you want you can just make one capsule completely surrounding each player so you can aim at them.
__________________
Where am I even going...
PikaJew
View Public Profile
Send a private message to PikaJew
Find More Posts by PikaJew