Raised This Month: $ Target: $400
 0% 

NoBlock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode