View Single Post
Plugin Info:     Modification:          Category:          Approver:   Backstabnoob (7)
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-03-2014 , 06:15   Timer Controller v0.0.2 [ April 5th 2014 ]
Reply With Quote #1

.:Timer Controller:.
Version 0.0.2
By hornet

.:Description:.

At the moment, this is a plugin with very basic functionality for pausing and unpausing the round timer and extending / reducing the timer between round end and the next round start.
Also includes some API for scripters to use.

To do list:
  • Add cvar to block event based map objectives whilst round is paused

.:CVARS:.
  • tc_roundendtime
-Sets the amount of time between round end and the start of the next round
.:Commands:.
  • roundpause
-Pauses / Unpauses the round timer [ Admin CVAR access required ]
and displays a pause message
.:Custom Modules Required:.

.:Installation:.
  • Have Orpheu Module installed ( see link in Required Modules ).
  • Extract archive inside cstrike folder.

.:API:.

This plugin's functionality is accessible from other plugins. Will be more useful once more features are added.

The following natives exist:
  • native RoundTimerPause()
-Pauses / Unpauses the round timer
  • native bool:IsRoundTimerPaused()
-Returns if the round timer is paused or not
.:Change Log:.

Spoiler
Attached Files
File Type: sma Get Plugin or Get Source (timer_controller.sma - 1614 views - 4.6 KB)
File Type: zip cstrike.zip (9.3 KB, 585 views)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 04-05-2014 at 01:22.
hornet is offline