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

Mapchooser with vote output


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
stevieboy
Member
Join Date: Feb 2008
Plugin ID:
290
Plugin Version:
1.0.0.1876
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Modified mapchooser to show the users vote
    Unapprover:
    Reason for Unapproving:
    Plugin uses same filename as one of Sourcemod's base plugins.
    Old 02-19-2008 , 01:42   Mapchooser with vote output
    Reply With Quote #1

    Hello,

    since i was comforted by the mani admin plugin informing all users of the current state of the pending vote I was very upset that the standard mapchooser-plugin doesn't want to tell me anything till the vote is finished.

    So I checked the source and found a part where the user's vote would be displayed - but it was commented out due to a pending decission by BAIL.

    I wrapped a new cvar around the code fragment and now I can switch on/off the vote output.

    Via default the value of sm_mapvote_showvotes is set to 1, so if a vote occurs the chat will be showing something like "Player stevieboy voted for map 'cp_dustbowl'".

    I post it here hoping that this cvar will find it's way into the next release of sm.

    I hope it helps someone.

    stevieboy

    PS: If I find enough time I will add an additional hintbox with the current state of the vote (timeleft and maps voted, sorted by votes).
    Attached Files
    File Type: sp Get Plugin or Get Source (mapchooser.sp - 3643 views - 14.5 KB)

    Last edited by pRED*; 02-20-2008 at 18:21. Reason: Lost plugin-option via preview (?!?!)
    stevieboy 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 23:49.


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