CS:GO Player Used Healthshot
Is there anyway to know when a player has used a healthshot?
Tried: weapon_fire is fired when player presses mouse1 but the healthshot animation can be cancelled after that. |
Re: CS:GO Player Used Healthshot
You can use DHooks -> "CItem_Healthshot::CompleteUse(CCSPlayer *)".
"weapon_fire" is weird, the event is sent a lot for one healthshot used. |
Re: CS:GO Player Used Healthshot
Quote:
Something like this? PHP Code:
Quote:
|
Re: CS:GO Player Used Healthshot
Hook in OnEntityDestroyed :) for me works
|
Re: CS:GO Player Used Healthshot
Quote:
|
Re: CS:GO Player Used Healthshot
A similar thread: https://forums.alliedmods.net/showthread.php?t=285032
I tried the last solution but it doesn't work. OnEntityDestroyed seems to have issues if you want to retrieve the user. |
Re: CS:GO Player Used Healthshot
Quote:
|
Re: CS:GO Player Used Healthshot
Hi, with help of @peace-maker and @Pelipoika i've got the solution for that :)
PHP Code:
Code:
"Games" |
All times are GMT -4. The time now is 20:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.