timer_controller.inc
VIP Сървъри
Всички сървъри
/**
* @brief Pauses / Unpauses the round timer.
*
* @note The countdown timer will be paused and will also put any time objective
* check on hold.
*
* @noreturn
*/
native RoundTimerPause();
/**
* @brief Returns whether the round timer is paused or not.
*
* @return type boolean
*/
native bool:IsRoundTimerPaused();
/**
* @brief Sets the round timer to the given time.
*
* @param int Minutes
* @param int Seconds
*
* @noreturn
*/
native RoundTimerSet( iMinutes, iSeconds = 0 );
/**
* @brief Returns round timer in seconds.
*
* @return time
*/
native RoundTimerGet();
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <timer_controller>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в
scripting/include/3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe