Raised This Month: $32 Target: $400
 8% 

Simple TK Punisher


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Hawk552 (427)
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 02-05-2009 , 07:46   Simple TK Punisher
Reply With Quote #1

Description:
When your team-mate killing you, his monitor will be red for some time and screen shake, and his hp will be lost, get off for cvar.

Cvars:
amx_tk_hp_num "HP" // default : 20 // If you dont want that player will loose hp, set to "0"

Change-Log:

* 1.2
- Fixed: The plugin didnt worked correctly, the effect were appearing on all killers, but not only on team killers, now its fixed, and all fine.

* 1.1
- First release.
Attached Files
File Type: txt teamkiller.txt (482 Bytes, 800 views)
File Type: sma Get Plugin or Get Source (TeamKiller.sma - 1951 views - 1.5 KB)
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){


Last edited by M1R0n,M'; 02-06-2009 at 08:01.
M1R0n,M' is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-05-2009 , 07:59   Re: Simple TK Punisher
Reply With Quote #2

Just for a text message you dont need to register dictionary ^^. Write that message in plugin...
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 02-05-2009 , 08:09   Re: Simple TK Punisher
Reply With Quote #3

Okey,Updated.
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-05-2009 , 08:12   Re: Simple TK Punisher
Reply With Quote #4

Quote:
Originally Posted by tuty View Post
Just for a text message you dont need to register dictionary ^^. Write that message in plugin...
Why ?

Just because there is only one line, ML should not be done ?
What's this suggestion, tuty ?! It doesn't matter how short it is ; it's always useful.

Quote:
Okey,Updated.
No, don't do that. ML is fine and should be used when you can. At least for messages to simple player.
Ignore tuty and update again.

Last edited by Arkshine; 02-05-2009 at 08:16.
Arkshine is offline
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 02-05-2009 , 08:31   Re: Simple TK Punisher
Reply With Quote #5

~Updated~
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-05-2009 , 08:32   Re: Simple TK Punisher
Reply With Quote #6

Here's Swedish:
Code:
[sv]
teamkiller = Du d'o'dade din lagkamrat! Stackars dig!
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-05-2009 , 08:35   Re: Simple TK Punisher
Reply With Quote #7

By the way :

LANG_SERVER should be iKiller.


And here for french :

Code:
[fr]
teamkiller = Tu as tue ton coequipier ! Pauvre de toi !
Arkshine is offline
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 02-05-2009 , 09:42   Re: Simple TK Punisher
Reply With Quote #8

arkishe thanks ;) , updated.
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
necox
Member
Join Date: Feb 2008
Old 02-05-2009 , 10:00   Re: Simple TK Punisher
Reply With Quote #9

Code:
[tr]
teamkiller = Kendi takim arkadasini oldurdun! Kotu birisin!
__________________
necox is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-05-2009 , 10:11   Re: Simple TK Punisher
Reply With Quote #10

Code:
[ru]
teamkiller = Ty ubil svoego druga! Ty plohoj!
:/
__________________
xPaw 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 21:00.


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