Player and Grenade Noblock
SUMMARY
Originally by
Tony G. The original plugin used DukeHacks which isn't really supported anymore.
This plugin noblocks players and grenades so players can not be blocked by team mates/enemies grenades. Useful for deathrun servers so players can not be killed by TKers trying to jump over traps.
Credits:
Someone78 - Showed me and my mate how to properly code this for SDK Hooks
Tony G. - Original thread:
http://forums.alliedmods.net/showthread.php?p=746250
Altex and his NoBlock plugin, some code is borrowed from it.
Requirements:
SourceMod v1.2.X or greater
Cvars:
sm_grenplayer_noblock_version
= 2.1
(can not be changed)
// Enables/Disables noblock on grenades
(def. 1)
sm_noblock_grenades
// Enables/Disables noblock on players
(def. 1)
sm_noblock_players
// Enables/Disables the !block command
(def. 1)
sm_noblock_allow_block
// How long a player should be blocked for
(def. 20)
sm_noblock_allow_block_time
// Enables/Disables chat messages
(def. 1)
sm_noblock_notify
Installation:
- noblock.smx goes into /addons/sourcemod/plugins
- noblock.phrases.txt into /addons/sourcemod/translations
Changelog:
1.1:
- Initial release. Changed requirements from Dukehacks to SDK Hooks.
1.2:
- Added checking to make sure the game is Counter-Strike: Source only
- Added !block (Thanks Altex)
- Added a command to enable/disable blocking on players
- Added a command to enable/disable blocking on grenades
2.0:
- Complete rewrite
- No longer requires SDKHooks (should I mention the fact that it never actually did?
)
2.1:
- Fixed a possible issue with translations
- Added sm_noblock_notify to enable or disable chat messages
A staggering 11574 downloads for v2.0!