Raised This Month: $ Target: $400
 0% 

Show me the time (a clock and info plugin) V1.25 2006-08-23


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 07-29-2006 , 16:48   Show me the time (a clock and info plugin) V1.25 2006-08-23
Reply With Quote #1

Show me the time V1.25

Shows the following information in HUD just under the Radar:

- a custom msg
- thetime
- timeleft
- nextmap

See screenshot:



CHANGELOG

V1.25

- added cutom msg support

V1.2

- added cvar to disable display
- added cvars for custom positioning
- added cvars for custom color
- changed amx_moreinfo to amx_smtt_moreinfo

V1.1

- added cvar to hide nextmap and timeleft info

V1.0

- shows thetime, timeleft and nextmap

Code:
/********************************************************

    Show me the time plugin V1.2

    by flintst0nes http://flintst0nes.de.vu
    for   flintst0nes FUNSERVER   FAST DL
    visit steam CS1.6 @ 85.131.217.14:27025

**********************************************************

    This plugin for AMX Mod X displays the current
    server time, the time remaining on map and
    the next map coming up under the radar.

    Just install the plugin the usual way copying the
    amxx-file to addons/amxmodx/plugins and append
    showmethetime.amxx to your plugins.ini

**********************************************************

    CHANGELOG

    V1.25

    - added cutom msg support

    V1.2 

    - added cvar to disable display
    - added cvars for custom positioning
    - added cvars for custom color
    - changed cvar amx_moreinfo to amx_smtt_moreinfo 

    V1.1

    - added cvar to hide nextmap and timeleft info

    V1.0

    - shows thetime, timeleft and nextmap

**********************************************************

    Cvars:

    amx_smtt_showinfo 0|1 default: 1
    toggles plugin activity (0 = off)

    amx_smtt_moreinfo 0|1 default: 1
    toggles timeleft and nextmap info (0 = off)

	amx_smtt_xpos 0.0 to 1.0 (floating point)
	set x position (upper left corner), default: 0.015

	amx_smtt_ypos 0 to 1 (floating point)
	set y position (upper left corner), default: 0.35

	amx_smtt_red 0 to 255 (integer)
	set display color red part, default: 0

	amx_smtt_green 0 to 255 (integer)
	set display color green part, default: 255

	amx_smtt_blue 0 to 255 (integer)
	set display color blue part, default: 0

	amx_smtt_custommsg "my custom string"
	displays a custom string, leave empty to disable, max 32 characters

**********************************************************/
Attached Files
File Type: sma Get Plugin or Get Source (showmethetime.V1.25.sma - 6280 views - 4.4 KB)
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful

Last edited by flintst0nes; 08-23-2006 at 01:14.
flintst0nes is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 07-29-2006 , 18:30   Re: Show me the time (a clock and info plugin)
Reply With Quote #2

Quote:
#include <cstrike>
you dont need the cstrike module
Deviance is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 07-29-2006 , 18:32   Re: Show me the time (a clock and info plugin)
Reply With Quote #3

and don't attach the .amxx
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 07-29-2006 , 18:34   Re: Show me the time (a clock and info plugin)
Reply With Quote #4

Quote:
Originally Posted by Doombringer
you dont need the cstrike module
thx

Quote:
Originally Posted by Lord_Destros
and don't attach the .amxx
hmm, why? seen that often before in this forum ..
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful
flintst0nes is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 07-29-2006 , 18:39   Re: Show me the time (a clock and info plugin)
Reply With Quote #5

When you attach the SMA, the amxx is automatically in there when you press get plugin


Get Plugin = .amxx
Get source = .sma
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 07-29-2006 , 18:40   Re: Show me the time (a clock and info plugin)
Reply With Quote #6

ahhhh ok, that means posting sma is enough ? i'll delete that file ^^

thank you (+karma)
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful

Last edited by flintst0nes; 07-29-2006 at 18:43.
flintst0nes is offline
Old 07-29-2006, 18:41
Deviance
This message has been deleted by Deviance. Reason: w/e
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 07-29-2006 , 20:58   Re: Show me the time (a clock and info plugin)
Reply With Quote #7

What does the name of the next map have to do with showing you the time?
__________________
Brad is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 07-30-2006 , 00:38   Re: Show me the time (a clock and info plugin)
Reply With Quote #8

It contains the time till next map, so it only makes sense to say to what map i guess.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 07-30-2006 , 04:30   Re: Show me the time (a clock and info plugin)
Reply With Quote #9

i wanted to have a clock in sight, so i scripted that.

then i realized that the most recently used commands on my server are /nextmap and /timelft. so i added this info, too
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful
flintst0nes is offline
Incro
Junior Member
Join Date: Jul 2006
Location: CALIFORNIA
Old 07-30-2006 , 05:59   Re: Show me the time (a clock and info plugin)
Reply With Quote #10

That would be useful, a clock next to the radar.
__________________
Yeah, nice one.

Incro is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


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