View Single Post
Plugin Info:     Modification:          Category:          Approver:   Arkshine (91)
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 06-27-2010 , 08:00   [27/06/10] Block Slash
Reply With Quote #1

Block Slash


Credits:

- Routine: Testing
- Kureno
- ot_207: Idea's
- Xalus: Testing


Description:

This plugin is ment for knife servers. Using a command u can block players from slashing ( +attack ). Why ? Some servers (players) think slashing on acer is lame, people that are new to knife don't know that.


Commands:

amx_blockslash <playername> <rounds>

note: 0 rounds = the whole map, this also works on servers using respawn.
( reconnecting does'nt help to remove the blockslash )

amx_allowslash <playername>

say /voteslasher


Cvars:

Code:
"bl_allowvote", Default: "1"  En/disables the command
"bl_menudelay", Default: "10" Time players have to chose
"bl_votedelay", Default: "180" Time players have to wait to use the command again
"bl_voterounds", Default: "5" Rounds players will not be able to slash after the vote succeeded
Changelog:

Code:
Version 3.2: Changed coding parts.
Version 3.1: Changed minor things.
Version 3.0: Added votemenu
Version 2.0: Added @all, @ct, @t options + little bug fixed.
Version 1.0: Initial Release
ToDo List:

Add a votecommand for regular players.
Maybe add colorchat ( kinda buggy here last times :s )


Attached Files
File Type: sma Get Plugin or Get Source (blockslash.sma - 2378 views - 9.0 KB)
__________________
I am out of order!

Last edited by grimvh2; 11-01-2010 at 17:10.
grimvh2 is offline