Raised This Month: $ Target: $400
 0% 

TK Punishment


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-01-2011 , 19:33   TK Punishment
Reply With Quote #1

TK Punishment
Version 0.0.2


Description:
This plugin allows the victim of a TK to either forgive the player or not. If the player is forgiven nothing happens. If hes not, he is stripped of his weapons and cannot pick up weapons except for the C4. It also removes his buyzone. On next round it sets his status back to normal. If max tk limit is reached it will either ban him or kick him.

Tested in CZ.

Cvars
:

  • tkp_punishmode - 0 = off, 1 = Kick, 2 = ban. (default: 1)
  • tkp_maxtks - Amount of tks allowed before action taken.(default: 3)
  • tkp_bantime - Time in minuets for ban.(default: 5)
Credits:
  • AlliedModders - Scripting help has lots of good threads
  • Drop Weapons on TK - For the idea.
  • Black Ops - For TK limit before ban.(added forgive for accidentals)
Change log:

0.0.1
Initial Release
0.0.2
Fixed a few lines that wern't used
Attached Files
File Type: sma Get Plugin or Get Source (tkpunishment.sma - 339 views - 5.3 KB)

Last edited by Doc-Holiday; 09-19-2011 at 04:15.
Doc-Holiday is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-01-2011 , 22:04   Re: TK Punishment
Reply With Quote #2

Ever heard of ATAC?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-02-2011 , 00:26   Re: TK Punishment
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Ever heard of ATAC?
doesnt that give the victim a menu to choose from a crap load of things?? not just what i have here?

if your talking about the one by Orangutanz it is modular and supports alot more how ever it doesnt do exactly what i have above.. and no way as simple.

Last edited by Doc-Holiday; 08-02-2011 at 00:32.
Doc-Holiday is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-02-2011 , 03:48   Re: TK Punishment
Reply With Quote #4

It is poor enough... I think in Counter-Strike and Counter-Strike: Condition Zero already exists a CVAR to set the team kills limit... And the punishment is kick.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-02-2011 , 03:56   Re: TK Punishment
Reply With Quote #5

Quote:
Originally Posted by claudiuhks View Post
It is poor enough... I think in Counter-Strike and Counter-Strike: Condition Zero already exists a CVAR to set the team kills limit... And the punishment is kick.
but you cannot forgive. however i can read that instead of creating a new cvar...
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 04:16   Re: TK Punishment
Reply With Quote #6

Small update. After testing with mp_tkpunish without altering what is already in place with that cvar it will slay you each round even with the forgive. I can disable the slaying but i have to modify other files and not just a simple plugin with a new cvar.
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-30-2012 , 02:34   Re: TK Punishment
Reply With Quote #7

redundant, unapproved
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 09:56.


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