timer_controller.inc
Original include source with line numbers.
| 1 | /** |
| 2 | * @brief Pauses / Unpauses the round timer. |
| 3 | * |
| 4 | * @note The countdown timer will be paused and will also put any time objective |
| 5 | * check on hold. |
| 6 | * |
| 7 | * @noreturn |
| 8 | */ |
| 9 | native RoundTimerPause(); |
| 10 | |
| 11 | /** |
| 12 | * @brief Returns whether the round timer is paused or not. |
| 13 | * |
| 14 | * @return type boolean |
| 15 | */ |
| 16 | native bool:IsRoundTimerPaused(); |
| 17 | |
| 18 | /** |
| 19 | * @brief Sets the round timer to the given time. |
| 20 | * |
| 21 | * @param int Minutes |
| 22 | * @param int Seconds |
| 23 | * |
| 24 | * @noreturn |
| 25 | */ |
| 26 | native RoundTimerSet( iMinutes, iSeconds = 0 ); |
| 27 | |
| 28 | /** |
| 29 | * @brief Returns round timer in seconds. |
| 30 | * |
| 31 | * @return time |
| 32 | */ |
| 33 | native RoundTimerGet(); |