Thread: NoBlock
View Single Post
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 05-04-2009 , 13:04   Re: [CSS] NoBlock
Reply With Quote #4

Quote:
Originally Posted by altex View Post
You are right. Thanks.

But this was my first plugin i wrote, and it has been written by 20 jun 2008. I just searching in my repository for any usable code and decided to share it.

So there is one minor difference in my plugin - say !block enables and disables blocking. You can not wait until timer expires and unblock player.

I downloaded you plugin for learning and can not find out what is g_hostage for?
Some people always abuse such functions to block the own team, therefore a timer is quite good.

@hostage:
This is a ConVar:
Code:
nb_hostage    "1"        - 0: blocking hostages - 1 no blocking hostages

g_hostage = CreateConVar("nb_hostage", "1");
__________________
SWAT_88 is offline