Hook flashed event
Is it possible to hook flashed player event with FLASHER'S (Attacker's) ID and Flashed players ID?
|
Re: Hook flashed event
Code:
Not sure how to get the person who flashed you, but I think there are some plugins out there which get the attacker. |
Re: Hook flashed event
Thanks! Tho I didnt find how to get flashers (attackers) id, didnt find such a plugin tha does this. I really need to get attackers id to check whether the attacker has particular skill or not..
|
Re: Hook flashed event
Take a look here: https://forums.alliedmods.net/showthread.php?t=233355
|
Re: Hook flashed event
You can get the attacker by retrieving the grenade owner if I'm right. You may also need to check before pev_dmgtime to make sure the grenade is going to explode.
|
| All times are GMT -4. The time now is 15:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.