Raised This Month: $ Target: $400
 0% 

count kills / per 5 sec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-21-2012 , 19:28   count kills / per 5 sec
Reply With Quote #1

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 ?
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 09-22-2012 , 06:23   Re: count kills / per 5 sec
Reply With Quote #2

That's not correct, it can be lucky... Or skill or cheats
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 09-22-2012 , 08:13   Re: count kills / per 5 sec
Reply With Quote #3

Have a look in the unapproved section.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-22-2012 , 15:44   Re: count kills / per 5 sec
Reply With Quote #4

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.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Reply


Thread Tools
Display Modes

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 08:18.


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