AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Show me the time (a clock and info plugin) V1.25 2006-08-23 (https://forums.alliedmods.net/showthread.php?t=42257)

flintst0nes 07-29-2006 16:48

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

Shows the following information in HUD just under the Radar:

- a custom msg
- thetime
- timeleft
- nextmap

See screenshot:

http://flintst0nes.de.vu/images/showmethetime.jpg

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

**********************************************************/


Deviance 07-29-2006 18:30

Re: Show me the time (a clock and info plugin)
 
Quote:

#include <cstrike>
you dont need the cstrike module

Lord_Destros 07-29-2006 18:32

Re: Show me the time (a clock and info plugin)
 
and don't attach the .amxx

flintst0nes 07-29-2006 18:34

Re: Show me the time (a clock and info plugin)
 
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 ..

SweatyBanana 07-29-2006 18:39

Re: Show me the time (a clock and info plugin)
 
When you attach the SMA, the amxx is automatically in there when you press get plugin


Get Plugin = .amxx
Get source = .sma

flintst0nes 07-29-2006 18:40

Re: Show me the time (a clock and info plugin)
 
ahhhh ok, that means posting sma is enough ? i'll delete that file ^^

thank you :) (+karma)

Brad 07-29-2006 20:58

Re: Show me the time (a clock and info plugin)
 
What does the name of the next map have to do with showing you the time?

SweatyBanana 07-30-2006 00:38

Re: Show me the time (a clock and info plugin)
 
It contains the time till next map, so it only makes sense to say to what map i guess.

flintst0nes 07-30-2006 04:30

Re: Show me the time (a clock and info plugin)
 
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

Incro 07-30-2006 05:59

Re: Show me the time (a clock and info plugin)
 
That would be useful, a clock next to the radar.


All times are GMT -4. The time now is 13:59.

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