Raised This Month: $95 Target: $400
 23% 

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 , 08: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, 645 views)
File Type: sma Get Plugin or Get Source (TeamKiller.sma - 1587 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 09:01.
M1R0n,M' is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-05-2009 , 08: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...
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

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 , 09: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 , 09: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 09:16.
Arkshine is offline
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 02-05-2009 , 09: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 , 09: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 , 09: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 , 10: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 , 11: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 , 11:11   Re: Simple TK Punisher
Reply With Quote #10

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


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