Raised This Month: $51 Target: $400
 12% 

Timeleft Hostname


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Hell Phoenix
Senior Member
Join Date: Jan 2005
Plugin ID:
191
Plugin Version:
1.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    12 
    Plugin Description:
    It grabs the timeleft for the map, and puts it into the hostname so people can see how much time is left on the current map.
    Old 09-24-2007 , 12:26   Timeleft Hostname
    Reply With Quote #1

    Timeleft Hostname
    Hell Phoenix
    http://www.charliemaurice.com/plugins

    Description:
    This is a port of Cheap_Suit's amxx plugin to sourcemod. It grabs the timeleft for the map, and
    puts it into the hostname so people can see how much time is left on the current map. Note that
    because of how the source engine works, this doesnt work until someone joins the server.

    Thanks To:
    Cheap Suit - for the original plugin
    Ferret for pointing out some things to fix =D

    Versions:
    1.0
    * First Public Release!
    1.1
    * Added missing mapend timer kill
    1.2
    * Fixed errors in the console
    1.3
    * Fixed frequency cvar not doing anything if set


    Cvars:
    sm_timeleft_hostname_frequency 2.0 - How often in seconds to update the hostname with timeleft
    ****You MUST set this in a config such as sourcemod.cfg or server.cfg...it cannot be changed
    "on the fly"

    Make sure you are using at least 1474 of sourcemod!
    Attached Files
    File Type: sp Get Plugin or Get Source (timeleft_hostname.sp - 6318 views - 2.4 KB)
    __________________

    Last edited by Hell Phoenix; 10-05-2007 at 10:16.
    Hell Phoenix is offline
     



    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 10:55.


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