Block Slash

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Block Slash

Post by greenie »

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:

"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:
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 )

get plugin
get source
Post Reply

Return to “Admin Commands”