1.1 --- a/plugins/include/timers.inc Sun Sep 23 16:01:12 2007 +0000
1.2 +++ b/plugins/include/timers.inc Sun Sep 23 19:33:19 2007 +0000
1.3 @@ -161,6 +161,17 @@
1.4 forward OnMapTimeLeftChanged();
1.5
1.6 /**
1.7 + * Returns whether or not the server is processing frames or not.
1.8 + *
1.9 + * The server does not process frames until at least one client joins the game.
1.10 + * Once the first player has in, even if that player, leaves, the server's
1.11 + * timers and entities will work.
1.12 + *
1.13 + * @return True if the server is ticking, false otherwise.
1.14 + */
1.15 +native bool:IsServerProcessing();
1.16 +
1.17 +/**
1.18 * Creates a timer associated with a new data pack, and returns the datapack.
1.19 * @note The datapack is automatically freed when the timer ends.
1.20 * @note The position of the datapack is not reset or changed for the timer function.