Thread: (Released) [SM Plugin] FF HUD Clock
View Single Post
Old 07-15-2008, 12:40 AM   #1
hlstriker
QUAD ROCKET
Server Owner
Fortress Forever Staff
 
hlstriker's Avatar
 
Join Date: Jul 2007
Class/Position: Soldier
Gametype: Rocket Jumping
Affiliations: -g1 ]qS[ -eC- :e0: [ESAD]
Posts Rated Helpful 11 Times
[SM Plugin] FF HUD Clock

Here is another plugin I made for SourceMod...
You can download it here: http://forums.alliedmods.net/showthread.php?t=74249

Copy and pasted from the AM forums:
Quote:
+description+
This plugin adds a digital clock to the clients hud. The server admin can change the clock from 12 to 24 hour format, and change the timezone offset.

+installation+
- Place the FFHudClock.smx file inside of the addons/sourcemod/plugins/ folder.
- Place the savedtimezones.ini file inside of the addons/sourcemod/configs/ folder.
- Place the .vmt and .vtf files inside of the materials/vgui/ folder.
- You must use a http download server for the .vtf and .vmt files or the client may not properly download them (Bug in FF?).

+commands+
say /settime: Lets players change their personal clock time offset and hour format.

+cvars+
sv_clockoffset <timezone offset>: Set the servers timezone offset (does not use daylight savings time).
sv_clocktype <12 or 24>: Set if the clock should be in 12 or 24 hour format.

+credits+
- Big thanks to Jester for making the vtf files for me and helping me test

+change log+
Version 1.0 ( 07-14-2008 )
-- Initial release.

Version 1.1 ( 09-11-2008 )
-- Added country time offset checking.
-- Added method for players to set their own time offset and hour format.
-- Added message on players first spawn that tells how to change their personal clock.
-- Changed the size of the clock to be a bit smaller.

Version 1.2 ( 12-07-2008 )
-- Changed how players time is loaded.
-- Fixed the hud images for the latest FF update.
-- Fixed so players can use the 0 offset for GMT time.

Version 1.3 ( 03-05-2009 )
-- Added color to the connect information message.

Screenshot:

Last edited by hlstriker; 03-05-2009 at 08:15 PM.
hlstriker is offline   Reply With Quote