View Single Post
Author Message
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-29-2008 , 17:18   NoBlock for Players and Hostages
Reply With Quote #1

/********************************************* **********************************

No Hostage/Player Block


Version: 2.0
Author: SWAT_88

1.0 First version, should work on basically any mod
1.0 Added no hostage/player block.
1.5 Added !block command.
2.0 Fixed cvar bug.

Description:
Removes player versus player/hostage collisions.
Useful for mod-tastic servers running surf maps, etc.
Commands:
Type in chat: !block to become blockable. Sidenote: Only if time > 0.
Cvars:
nb_enabled "1" - 0: disables the plugin - 1: enables the plugin

nb_hostage "1" - 0: blocking hostages - 1 no blocking hostages

nb_player "1" - 0: blocking players - 1 no blocking players

nb_time "0" - 0: disables !block command - x: How long a player will be blockable. This activates the !block command.

nb_verbose "2" - 1: print status only to player - 2: print status to all.
Setup (SourceMod):
Install the smx file to addons\sourcemod\plugins.
(Re)Load Plugin or change Map.
TO DO:
No Team Block
Copyright:
Everybody can edit this plugin and copy this plugin.
Special Thanks to:
sslice
[KH] Royal CS
Donations:
I'm a student and code this plugins in my freetime, while you probably play games .
If you like my work, kindly make a donation via PayPal.
Feel free to donate whatever amount you like.

Thank you for supporting this plugin!
Don't forget to support SourceMod too.
Consider: Without SourceMod none of these plugins would exist!
Notice: This


HAVE FUN!!!

********************************************* **********************************/
Attached Files
File Type: sp Get Plugin or Get Source (sm_noblock.sp - 15948 views - 5.3 KB)
__________________

Last edited by SWAT_88; 01-31-2011 at 20:12.
SWAT_88 is offline