Block Slash

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

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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œAdmin Commands”