Raised This Month: $51 Target: $400
 12% 

PunishMode 1.2 -- update 5/14,2006


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
kinsprite2
Junior Member
Join Date: Mar 2006
Old 03-12-2006 , 07:16   PunishMode 1.2 -- update 5/14,2006
Reply With Quote #1

Code:
/* AMX Mod X script.    Punish Mode plugin, version 1.2           by KinSprite, 5/14, 2006 . Email : <a href="mailto:[email protected]">[email protected]</a>          This plugin is powerful enough to punish the players or one.    If a player is in punished mode , auto reset his HP,AP and Money at each round start. Also drop his weapons and strip some other weapons,such as knife and grenade. When he picks up something,drop and strip again.    Also ,you can write the punished IP to the file "ipspunish.cfg". When a player put in the server, the plugin will look for his IP in the "ipspunish.cfg" . if exist, he will be in punished mode.   "ipspunish.cfg" -in game dir, you can edit it with the commands or Notepad.    The language file, only has English and simple Chinese.   [Cvars]:     amx_punish_enable ; default is 1 , to disable punish players, set it to 0     amx_punish_health ; default is 44 , set the max health when a player in punish mode.     amx_punish_money  ; default is 44 , set the max money when a player in punish mode.     amx_punish_armor  ; default is 4 , set the max armor when a player in punish mode.   [Commands]:     amx_punish_player     amx_punish_userip     amx_punish_editip     amx_punish_listip       [Commands Usage]:     1, amx_punish_player <name or #userid or @ or @T or @CT> <0 or 1>          // to punish a player or a team. "@CT" - Team CT , "@T" - Team Terrorist , "@" or "@other-string" - All players.     2, amx_punish_userip <name or #userid> <ADD or DEL>          // to Add or Delete user's ip to / from file     3, amx_punish_editip <IP> <ADD or DEL>          // add or delete one IP to / from file     4, amx_punish_listip          // list the IPs in the file - "ipspunish.cfg" in game dir.   [Change Log]:        version 1.2 :             Log Admin's action to AMXx logfile             fix a bug when punish user's IP        version 1.1 :             Write in normal and easy to read             Remove redundancy code                [Required Module]:     1, Fun module     2, Cstrike module */ #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #define TASK_ID 8636 #define TASK_DROPWEAP_ID 7636 new bool:haspunishmode[33]=false new p_amx_punish_enable new p_amx_punish_health new p_amx_punish_money new p_amx_punish_armor public plugin_init() {     register_plugin("PunishMode","1.2","KinSprite")     register_dictionary("punishmode.txt")     register_concmd("amx_punish_player","cmdpunishmode",ADMIN_SLAY,"<name or #userid or @ or @T or @CT> <0 or 1> -Players punished mode")     register_concmd("amx_punish_userip","cmdpunishIP",ADMIN_SLAY,"<name or #userid> <ADD or DEL> - Player's IP to (from) the punished IP data")     register_concmd("amx_punish_editip","cmdfile_IP",ADMIN_SLAY,"<IP> <ADD or DEL> in the punished IP data")     register_concmd("amx_punish_listip","cmdlistip",ADMIN_SLAY,"List IPs in ^"ipspunish.cfg^"")     register_event("ResetHUD", "ResetHUD_Punish", "b")     register_event("WeapPickup","drop_weap","b")     p_amx_punish_enable = register_cvar("amx_punish_enable","1")     p_amx_punish_health = register_cvar("amx_punish_health","44")     p_amx_punish_money = register_cvar("amx_punish_money","44")     p_amx_punish_armor = register_cvar("amx_punish_armor","4")     return PLUGIN_CONTINUE }
Attached Files
File Type: txt punishmode.txt (2.6 KB, 359 views)
File Type: sma Get Plugin or Get Source (punishmode.sma - 1096 views - 13.2 KB)
kinsprite2 is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 03-12-2006 , 20:52  
Reply With Quote #2

don't post the .amxx, people can auto compile it with the .sma
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
kinsprite2
Junior Member
Join Date: Mar 2006
Old 05-14-2006 , 03:27  
Reply With Quote #3

updated,

version 1.2 :
Log Admin's action to AMXx logfile
fix a bug when punish user's IP
version 1.1 :
Write in normal and easy to read
Remove redundancy code

This time , I think the script is near standard
kinsprite2 is offline
voivod
Member
Join Date: Jun 2006
Location: poland
Old 06-10-2006 , 02:15  
Reply With Quote #4

cool plugin, but it needs few modifications to be perfect:
-random time weapon drop(not pickup->drop)
-random fov changer(similiar to granade hit effect in grenades are heavy plugin)
-random flashbang(sometimes the punished one is just hit by a flashbang)
-random knife switcher
-random silencer plugger (random, or a chance it will plug when see enemy, or hit by the enemy)
-random jump
-random sensitivity change(few sec, then back to original, or replace it with smokin and drinkin)
-random "say im a looser!"
-random smokin and drinkin (default set to 10 sec http://djeyl.net/forum/index.php?s=a...ic=10242&st=30 )

if u set cvars for all this this, it will be a very great plugin 4 punishing cheaters
ah, and configurable disable showing activity by this plugin
thx
__________________
my server and maps
-> http://voivod.hk.pl <-
voivod is offline
pyro_pro13
Senior Member
Join Date: Aug 2005
Old 06-10-2006 , 02:31  
Reply With Quote #5

harsh stuff to do to people by ip lol but insted of kicking hackers that might be funner seeing them usless LOL good idea havent tried will l8er
__________________
pyro_pro13 is offline
Send a message via AIM to pyro_pro13 Send a message via MSN to pyro_pro13 Send a message via Yahoo to pyro_pro13
ColdBlood
Senior Member
Join Date: Feb 2006
Location: new york
Old 06-10-2006 , 17:39  
Reply With Quote #6

i'll try it on my comp.
__________________
ColdBlood is offline
Send a message via AIM to ColdBlood Send a message via Skype™ to ColdBlood
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-08-2006 , 23:31   Re: PunishMode 1.2 -- update 5/14,2006
Reply With Quote #7

there are plenty of plugins that not only punish but punish this way, and v3x's ultimate punish logs + has the same effect as this one as well.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
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 10:15.


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