Hs ratio help
PHP Code:
what I need - check Hs per kill . if over 90% ban |
Re: Hs ratio help
You've never rushed with a TMP before, have you?
|
Re: Hs ratio help
I can make exception for knife / tmp / Uzi /. etc in curweapon
I dont care. I just need working code and my request = another ratio shots per kill . it really helps in HLstats. when I see users with 3-4 bullets per EVERY kill = its aimbot 100% . ( count bullets / get user frags if less than xxx bullets per frag = ban. and make exception for awp its not a problem ) |
Re: Hs ratio help
You'll need to count shots fired. CurWeapon is run every time someone fires a regular weapon (knifes are an exception)
Unless there's a pdata offset that contains shots fired.... |
Re: Hs ratio help
ok so what about code above? if I use floatround it makes 0.9 > to 1.0 so it doesnt work
If u dont use floatround it doesnt work at all. and shows me random big numbers "Ratio hs/kill is %i" here |
Re: Hs ratio help
PHP Code:
floatround - transforms float to integer |
| All times are GMT -4. The time now is 08:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.