Raised This Month: $51 Target: $400
 12% 

Solved How to handle flash-assisted


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tretlenz
Junior Member
Join Date: Sep 2018
Old 05-13-2023 , 08:27   How to handle flash-assisted
Reply With Quote #1

Hello everyone! I am writing a plugin to catch the events I need on the server. How can i catch whether there was a flash assist at the time of the kill? If so, from whom?

Last edited by Tretlenz; 05-14-2023 at 17:07.
Tretlenz is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 05-13-2023 , 18:30   Re: How to handle flash-assisted
Reply With Quote #2

What game? I assume CSGO. I don't know any other Source game with flash assists

See the CSGO event list on the wiki

"assister" and "assistedflash" is probably what you are looking for.

Last edited by BeepIsla; 05-13-2023 at 18:30.
BeepIsla is offline
Tretlenz
Junior Member
Join Date: Sep 2018
Old 05-14-2023 , 05:22   Re: How to handle flash-assisted
Reply With Quote #3

Yes, its CSGO
assistedflash in player_death show only was the victim blinded by an assistant. But if the damage assistant is one person, and the blindness is another its not working

Last edited by Tretlenz; 05-14-2023 at 05:22.
Tretlenz is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 05-14-2023 , 09:42   Re: How to handle flash-assisted
Reply With Quote #4

You would probably have to track every flashbang and the owner of it (Player who threw the flashbang) with the "flashbang_detonate" event and then check which player got blinded by it and for how long using a trace ray and the "m_flFlashDuration" netprop on players. If the player then dies within the flashbang duration you can know who threw the flashbang.
BeepIsla is offline
Tretlenz
Junior Member
Join Date: Sep 2018
Old 05-14-2023 , 11:29   Re: How to handle flash-assisted
Reply With Quote #5

Ok. Thanks!
Tretlenz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode