Raised This Month: $ Target: $400
 0% 

[Req] Only Ct's can kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bickuribox
Member
Join Date: Mar 2007
Old 10-10-2008 , 16:10   [Req] Only Ct's can kill
Reply With Quote #1

Can someone make me a plugin that only allow Cts to kill?
bickuribox is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-10-2008 , 16:19   Re: [Req] Only Ct's can kill
Reply With Quote #2

Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta> #include <hamsandwich> #define cs_get_user_team(%1) get_pdata_int(%1, 114) #define CS_TEAM_CT 2 public plugin_init() {     register_plugin("Only CTs Kill", "0.1", "Exolent");         RegisterHam(Ham_TakeDamage, "player", "FwdDamage"); } public FwdDamage(client, inflictor, attacker, Float:damage, damagebits) {     if( cs_get_user_team(attacker) != CS_TEAM_CT )     {         return HAM_SUPERCEDE;     }         return HAM_IGNORED; }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
bickuribox
Member
Join Date: Mar 2007
Old 10-10-2008 , 16:21   Re: [Req] Only Ct's can kill
Reply With Quote #3

ty +karma
bickuribox is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-10-2008 , 17:54   Re: [Req] Only Ct's can kill
Reply With Quote #4

and to nobody cant kill?

thx
Alucard^ is offline
Send a message via Skype™ to Alucard^
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:14.


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