AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Timeleft (https://forums.alliedmods.net/showthread.php?t=56929)

ferret 06-24-2007 12:27

Timeleft
 
TimeLeft
Version 1.1

By: ferret!

Description

When a player says "timeleft", the time remaining for the current map will be displayed in MM:SS format.

Installation
  1. Place the timeleft.smx file inside of the addons/sourcemod/plugins/ folder.
  2. Place the plugins.timeleft.txt file inside of the addons/sourcemod/translations/ folder.
Cvars
  • sm_timeleft_show
    • Controls whether or not everyone sees the time.
    • Default value is 1, set to 0 to turn off.
  • sm_timeleft_interval
    • When non-zero, causes timeleft to be shown every x seconds.
    • Default value is 0.0, set to 1.0 to 1800.0
Changelog
  • Version 1.1 (July 5th)
    • Abandoned hungarian notation
    • Added thetime
    • New Cvar: sm_timeleft_interval: Displays "timeleft" every x seconds
    • French translation currently missing for thetime
  • Version 1.0 (June 29th)
    • Conformed to plugin submission standards
    • Added sm_timeleft_version Cvar

Knagg0 06-24-2007 12:30

Re: [PLUGIN] Timeleft
 
"StartTime" does not only begin on MapStart.
You have to hook the round_end event and check if the reason is 16 (#Game_Commencing)

ferret 06-24-2007 12:33

Re: [PLUGIN] Timeleft
 
Quote:

Originally Posted by Knagg0 (Post 494111)
"StartTime" does not only begin on MapStart.
You have to hook the round_end event and check if the reason is 16 (#Game_Commencing)

Thanks. I figured that was the case but was being lazy. If players are in the map at start, it shouldn't matter. I'll update shortly.

Isias 06-24-2007 14:36

Re: [PLUGIN] Timeleft
 
1 Attachment(s)
Translated into german

kill0r 06-24-2007 15:05

Re: [PLUGIN] Timeleft
 
Works if game was paused?

ferret 06-24-2007 15:15

Re: [PLUGIN] Timeleft
 
Updated. Implemented Knagg0's suggestion and put up Isias's translation.

Floppe 06-25-2007 06:25

Re: [PLUGIN] Timeleft
 
Quote:

Originally Posted by ferret (Post 494199)
Updated. Implemented Knagg0's suggestion and put up Isias's translation.

is source file updated?

magicyan 06-25-2007 07:51

Re: [PLUGIN] Timeleft
 
1 Attachment(s)
Quote:

Originally Posted by Floppe (Post 494428)
is source file updated?

Updated :)

ferret 06-26-2007 09:59

Re: [PLUGIN] Timeleft
 
Plugin updated. Magicyan's translations added, and fixed to use new filenames for Sourcemod core translation files. Also, remembered to actually SAVE the round_end reason 16 code this time.

MAKE SURE TO REDOWNLOAD THE TRANSLATION FILE.

Kaschenko 06-27-2007 17:12

Re: [PLUGIN] Timeleft
 
Not secret in a chat and so many write, for example: rank, bet, nextmap, bank, settings, timeleft and much many other things. It would be desirable, that other players did not see these commands in a chat to not litter a chat. Could make timeleft not visible in a chat :) ?
In advance thanks.


All times are GMT -4. The time now is 07:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.