How do I get when 2 players were stabbed at the same time?
How do I get when 2 players were stabbed at the same time?
|
Re: How do I get when 2 players were stabbed at the same time?
TakeDamage, get_gametime() :)
EDIT: Hai bugsy |
Re: How do I get when 2 players were stabbed at the same time?
Check get_gametime() and weapons at ham_takedamage
Edit: xPaw FTW |
Re: How do I get when 2 players were stabbed at the same time?
how?
|
Re: How do I get when 2 players were stabbed at the same time?
Untested
Edit: You will probably get no results with the previous code since the time value is float [25.31] and it is very unlikely that two numbers will ever be identical. I edited the code to allow you to specify if the knife attacks happened within g_fKnifeTime seconds from one another then it is considered the same time. Default is 1 second PHP Code:
|
Re: How do I get when 2 players were stabbed at the same time?
Edited above code
|
| All times are GMT -4. The time now is 13:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.