Originally Posted by HvG Community
Above one seem to work and you can then try something like this:
//Your plugin (Hook round start)
public void Event_RoundStart(Event event, const char name, bool dontBroadcast)
if(GameRules_GetProp("m_bWarmupPeriod") == 1)
ServerCommand("sm plugins load noscope.smx")
if(GameRules_GetProp("m_bWarmupPeriod") == 0)
ServerCommand("sm plugins unload noscope.smx")
Damn I totally missed that one plugin, what an idiot. Or I thought I read some comment that it didn't work anymore. My apologies.
Regarding that additional code, the weapon restrict plugin includes pre and post warmup CFGs, I guess I could just set noscope_enable "1" in prewarmup.cfg and then noscope_enable "0" in postwarmup.cfg.
Testing as soon as the map changes, thanks for your help!