[CSGO] Disable HLstatsX logging during warmup
I'm looking for a way to disable stats during warmup so players can't lose tons of points when being killed in spawn and what not.
I've searched through a bunch of threads across numerous sites and none of them to have what I'm looking for. Essentially all I want is a plugin or something that will execute a .cfg file before/after warmup that deletes and re-adds the log address. This plugin seems to be what most people recommend, but it's always been extremely buggy when I've tried to use it (pre/post-warmup configs not working, not restoring non-"custom" weapons after warmup ends, etc.) and aside from that it seems redundant to throw another warmup plugin on my servers when the vanilla system works perfectly fine. |
Re: [CSGO] Disable HLstatsX logging during warmup
+1, I'm interested.
|
Re: [CSGO] Disable HLstatsX logging during warmup
HookEvent("round_start", Event_RoundStartMode, EventHookMode_PostNoCopy);
public void Event_RoundStartMode(Event event, const char[] name, bool dontBroadcast) { if(GameRules_GetProp("m_bWarmupPeriod") == 1) { ServerCommand("log off"); } else { ServerCommand("log on"); } } |
Re: [CSGO] Disable HLstatsX logging during warmup
online compile:
Your plugin failed to compile! Read the errors below: SourcePawn Compiler 1.7.1 Copyright (c) 1997-2006 ITB CompuPhase Copyright (c) 2004-2014 AlliedModders LLC /groups/sourcemod/upload_tmp/textJjjsVx.sp(1) : error 021: symbol already defined: "HookEvent" /groups/sourcemod/upload_tmp/textJjjsVx.sp(5) : error 017: undefined symbol "GameRules_GetProp" 2 Errors. sm 1.8 compile: //SourceMod Batch Compiler // by the SourceMod Dev Team //// 1hlstatkill.sp // // D:\update plugins\csgo\addons\sourcemod\scripting\1hlst atkill.sp(1) : error 0 21: symbol already defined: "HookEvent" // // 1 Error. // // Compilation Time: 0,44 sec // ---------------------------------------- Press enter to exit ... |
Re: [CSGO] Disable HLstatsX logging during warmup
here is example for your plugin to disable hlxce logs on warmup not online compile...
here is small script just check warmup and disable hlx Quote:
|
All times are GMT -4. The time now is 02:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.