count kills / per 5 sec
I want to ban players who make 3-5 kills in 4-5 secs on servers with respawn.
how to count time... can I use public client_death to make count++ and get_gametime ? |
Re: count kills / per 5 sec
That's not correct, it can be lucky... Or skill :D or cheats :(
|
Re: count kills / per 5 sec
Have a look in the unapproved section.
|
Re: count kills / per 5 sec
The way I would go about it is that every time a player makes a kill, add 1 to his kill counter. At the same time, set a task for 5 seconds called removeKill() or something like that and in it, subtract one from his kill counter.
When he kills somebody, if his kill counter is 3 or 4 or w/e, he's made that many kills within 5 seconds. |
| All times are GMT -4. The time now is 08:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.