View Single Post
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 11-21-2022 , 18:16   Re: Stop Timer before Callback
Reply With Quote #2

Code:
	if (g_hCTimer != null) {
		KillTimer(g_hCTimer);
		g_hCTimer = null;
	}
Usually doing that makes the timer stop entirely and it sets the pointer back to null. If it's not stopping then something else is up with your code.

Last edited by Drixevel; 11-21-2022 at 18:17.
Drixevel is offline