Thread: NoBlock
View Single Post
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 05-04-2009 , 16:27   Re: [CSS] NoBlock
Reply With Quote #5

Quote:
Originally Posted by SWAT_88 View Post
Some people always abuse such functions to block the own team, therefore a timer is quite good.
In my plugin there is timer. But if you want to disable block you have 2 ways: wait for timer or say !block again. It is good if you stuck in somebody.

For example:
00:00 say !block # blocking player for 20 seconds
00:20 # player unblocked
01:00 say !block # blocking player for 20 seconds
01:05 say !block # player unblocked

Quote:
Originally Posted by SWAT_88 View Post
@hostage:
This is a ConVar:
Code:
nb_hostage    "1"        - 0: blocking hostages - 1 no blocking hostages

g_hostage = CreateConVar("nb_hostage", "1");
I can not find where it is used
Code:
#grep g_hostage sm_noblock.sp
new Handle:g_hostage;
    g_hostage = CreateConVar("nb_hostage", "1");
    CloseHandle(g_hostage);

Last edited by altex; 05-04-2009 at 16:40.
altex is offline