This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-27-2012 , 03:35   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #1

Quote:
Originally Posted by Peace-Maker View Post
Mh, just set sm_hns_ct_ratio to 0 if you're talking about this plugin.
but i want to use autobalance but make immunity for certain players
Despirator is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 04-04-2012 , 18:08   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #2

Quote:
Originally Posted by Despirator View Post
but i want to use autobalance but make immunity for certain players
Line 1747
PHP Code:
if (!g_bEnableHnS || !client || !IsClientInGame(client) || GetConVarFloat(g_hCVCTRatio) == 0.0)
{
    return 
Plugin_Continue;

Add this after that line and compile
PHP Code:
if (CheckCommandAccess(client"hns_immunity"ADMFLAG_RESERVATION))
{
    return 
Plugin_Continue;

I'm pretty sure that would work, while still not blocking the "sm_hns_ct_ratio" cvar.

Last edited by minimoney1; 04-04-2012 at 18:10.
minimoney1 is offline
Reply



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 20:34.


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