View Single Post
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 04-02-2020 , 13:08   Re: Reliable way to check if server is in pause
Reply With Quote #3

Quote:
Originally Posted by Napoleon_be View Post
that could work i guess, depends how you wanna do it.
Yeah, the problem with this is you need to find a function that executes when server is in pause to do those checks, because set_task() will not work, neither server_frame(). I found only one function that executes even in pause that you can hook with Fakemeta, "FM_AllowLagCompensation". It only works when there are players connected.

But even using that function, it didn't work well to check if gametime is the same, i'm doing something wrong for sure, any ideas?

I don't know, if someone finds a nice and simple solution, maybe it can be implement in amx_pause
__________________

Last edited by rtxa; 04-02-2020 at 13:13.
rtxa is offline