Customisable Time Display 
10 comments Think it's about time I upload something.
This is the time display script to outclass all other time display scripts that I know of, such as
The Time script (25), by allowing players to personalise their time display to their liking.
Features (for players) 
Open up the menu using your serveraction key 3 (F4 by default) and you can:
Change the colour of your own time display from a choice of different colours. (24 different colours by default)
Set the position of the time display
Change the time/date style of the display
Change your time display's time zone (screenshot 5)
Hide your time display from view if you think it's obstructing your view (Don't worry, you can re-enable it anytime). This option is found in the main menu and the first and last page of all sub-menus, except the colour sub-menu! (See below)
Preset colours not good enough for you? In the first and last page of the colour sub-menu is an option called Custom Colour. Select it and be greeted with an interface (screenshot 4) that lets you experiment with up to ~16.8 million colour combinations for your time display!
Installation
Extract the contents to your CS2D directory, preserving the archive's folder structure.
Add these to your servertransfer.lst file in the sys folder:
Customising this script 
Remember to keep at least 1 entry per table! There's no maximum limit to the amount of entries you can have, so add away!
Adding entries in-game 
It is also possible to add entries while in game with these functions (Only lasts for current session):
Execute these using
lua !
Credits
Yates -
Yates - Shit menu colour/color say/chat changer (45) script and assets
Infinite Rain - The code provided in
How to Make a Infinite Menu? is the basis for my menu script
VADemon - Suggestions
Talented Doge - Suggestions

This is the time display script to outclass all other time display scripts that I know of, such as




Open up the menu using your serveraction key 3 (F4 by default) and you can:





Preset colours not good enough for you? In the first and last page of the colour sub-menu is an option called Custom Colour. Select it and be greeted with an interface (screenshot 4) that lets you experiment with up to ~16.8 million colour combinations for your time display!



Code:
gfx/yates/lua/shit_colour_menu_2.png
gfx/yates/lua/shit_colour_menu_example.png
gfx/yates/lua/shit_colour_menu_arrow.png
gfx/yates/lua/shit_colour_menu_example.png
gfx/yates/lua/shit_colour_menu_arrow.png


Remember to keep at least 1 entry per table! There's no maximum limit to the amount of entries you can have, so add away!


It is also possible to add entries while in game with these functions (Only lasts for current session):
Code:
addcolour(name,red,green,blue)
addpos(n,xpos,xpos,o)
addpos(n,xpos,xpos,o)
Execute these using














edited 31×, last 25.09.19 07:14:25 am

Comments
10 comments



Log in!
You need to log in to be able to write comments!Log in

great ! , i have a good idea for your script , why don't you put a (temperature display + Zone Location) , this will make an evolution


colour_optimize should be turned on by default
you should also be able to position the hud without going thru code
you should also be able to position the hud without going thru code

Those names of the colours...Persian pink? Chartreuse green? Never heard about them :<
Pretty much what
VADemon said. Try to add that.
Pretty much what



Would be better adding the following features:
Change position, default right, players can choose left, top left, top right.
Choose the style of showing time.
Good one though.


Good one though.



