View Single Post
ThePwnt
AlliedModders Donor
Join Date: Feb 2009
Location: Denmark
Old 08-10-2020 , 09:30   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1706

Hey @versatile_bfg.

Is there a method to find the "public void" of LiveMatch/OnLive or OnMatchOver as example like pugsetup?
About there is some-else as example on warmod with LiveMatch/OnLive or OnMatchOver?

Example code:
Code:
public void Warmod_OnLive()
{
	CreateTimer(2.0, PrintDemo);
}

public Action PrintDemo(Handle timer) 
{
	PrintToChatAll("[\x05Test\x01] \x07 GOTV \x01Start recording\n: \x03%s\x01",g_sDemoPath);
}

public void Warmod_OnMatchOver(bool hasDemo, const char[] demoFileName)
{
	PrintToChatAll("[\x05Test\x01] \x07 GOTV \x01End recording, current demo - Save as:\n \x06%s\x01",demoFileName);
}

Last edited by ThePwnt; 08-10-2020 at 09:31.
ThePwnt is offline