View Single Post
Author Message
stevieboy
Member
Join Date: Feb 2008
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 - 3655 views - 14.5 KB)

Last edited by pRED*; 02-20-2008 at 18:21. Reason: Lost plugin-option via preview (?!?!)
stevieboy is offline