Quote:
Originally Posted by SWAT_88
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
@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);