Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse


[TF2/ANY] VIP (weighted) Mapvotes

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156

  • Postów:7280
  • Lokalizacja:AMXX.PL

Napisano 27.05.2014 07:07

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b>VIP Mapvotes</b><br /><br />I was going to call this, Weighted Map Votes, but decided the main use we use this for on our servers is for VIP players, I decided to call it VIP Map Votes.<br /><br />This is work in progress and is not a final product. I just created this within the last 2 days and only tested it for 1 day with our server full of VIPs. At this time, there does not seem to be any known quirks.<br /><br /><i><b>I'm also sorry there isn't many CVARs for customizations</b></i>, and you will have to modify some numbers on the top of the source and compile it for better customization. I added comments where you can modify the code, and explained in best detail what they are used for. <i><b>I will be adding more CVARS as I work on this, so please don't down me for that yet.</b></i><br /><br />Only the Admin Flag you assign can see the Time Remaining and the Vote Numbers, everyone else just sees the menu. I decided not to let our VIP see the voting progress in the center screen for obvious reasons.<br /><br /><img src="" border="0" alt="" /><br /><br />Only the admins flag(s) you assign can see the voting progress:<br /><br />Add to your server.cfg:<br /><br /><b>mapvote_admin_can_see_vote_progress c</b><br /><br />The Default is admin flag c<br /><br />Things you can change in the source code is in <b>BOLD</b>:<br /><br />By default, VIP can type <b>vipmapvote</b> in chat to trigger the map voting menu. They can only call for this vote during the last <b>10</b> minutes of the map.<br /><br /><br />On our server the location ends up being:<br />tf2/tf/addons/sourcemod/configs/vip_mapvotes.ini<br /><br />You can change the default location in the sourcecode:<br /><br />#define vip_mapvotes_file_location &quot;<b>configs/vip_mapvotes.ini</b>&quot;<br /><br /><br /><i>The Time left on map before VIP can vote:</i><br /><br />// Time is in Seconds left<br />// 60 seconds in a minute<br />// 20 minutes = 1200 seconds<br />// 15 minutes = 900 seconds<br />// 10 minutes = 600 seconds<br />// 5 minutes = 300 seconds<br />// 2 minutes = 120 seconds<br /><br />// Put in seconds:<br />// modify only the number:<br />new TimeLeftOnMapBeforePlayerCanVote=<b>600</b>;<br /><br /><i>The Server Command that is issued OnMapStart that changes the map time:</i><br />We found that shorter map times for maps choosen helps more VIP have a chance<br />to vote for a map and prevents the server from staying on a possible &quot;server killer map&quot;<br />for too long.<br /><br />// Put in minutes:<br />// This will only set server to this time amount if the voter votes for a map.<br />// modify only the number:<br />new SERVERCOMMAND_MAP_TIMELIMIT=<b>20</b>;<br /><br /><br />NOW The Fun customization part!<br /><br /><b>vip_mapvotes.ini</b><br /><br />This is the customization file.<br /><br />The <i>CanTriggerMapVote</i> section is the section you setup for who can trigger the map votes. The program looks thru the code from top to bottom. So the order is best to start from top to bottom. Yes means the person with that admin flag or flags is allowed to type <i>vipmapvote</i> or what ever you assign your command in the sourcecode. You can use combonations. Like &quot;ab&quot; would mean they must have both &quot;a&quot; and &quot;b&quot; flags in order to be able to use this command.<br /><br />The<i> AdminFlags</i> section is order of top to bottom for flag searches. If the player has the cbt flag, that player will only receive bonus points for the &quot;c&quot; flag only. The Bonus points are applied to that player's vote. A player with &quot;c&quot; would gain +3 votes to what ever they choose. You can put negative numbers on this section if you want certain flags to have a negative weight.<br /><br /><i>NamesBeginWith</i> and <i>NamesContain </i>are sections that are going to be added soon and have not yet been added. Some of the sourcecode has been already added.<br />The <i>MapPool</i> is the section that holds all the maps that a voter can choose from for this plugin. The numbers beside the maps are how much bonus each player will gain for picking that map on a map vote. You can add negative numbers too, if for instance you only want your VIP to vote for a certain map.. just make it like -2 if the VIP has a positive 3.<br /><br />The MapPool contains the TF2 Quickplay list of maps, but you can customize this how you see fit for your game.<br /><br /><br />IF your VIP only has the &quot;a&quot; flag, please be sure to modify the file &quot;vip_mapvotes.ini&quot; and change &quot;no&quot; to &quot;yes&quot;. Our trial VIP have &quot;a&quot;, and our real VIP has &quot;ab&quot;.<br /><br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;VIPMapVoteSettings&quot; <br />{ <br />&nbsp; &nbsp; &quot;CanTriggerMapVote&quot; <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; // &quot;Admin Flag&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Can trigger !mapvote? yes or no&quot; // comment on default admin flags <br />&nbsp; &nbsp; // Can do Mixes being required instead of just checking for singles, <br />&nbsp; &nbsp; // but if you do require ab, then they MUST have both a and b or <br />&nbsp; &nbsp; // any other combonation <br />&nbsp;<br />&nbsp; &nbsp; // The order of choice is from top to bottom: <br />&nbsp;<br />&nbsp; &nbsp; // Combonations: <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ab&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //requires both a and b flags <br />&nbsp; &nbsp; // Singles: <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;a&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;no&quot; //Reserved slot access. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;b&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;no&quot; //Generic admin; required for admins. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;c&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Kick other players. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;d&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Ban other players. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;e&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Remove bans. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;f&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Slay/harm other players. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;g&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Change the map or major gameplay features. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;h&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Change most cvars. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;i&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Execute config files. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;j&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Special chat privileges. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;k&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Start or create votes. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;l&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Set a password on the server. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;m&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Use RCON commands. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;n&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Change sv_cheats or use cheating commands. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;o&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;p&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;q&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;r&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;s&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;t&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;no&quot; //Custom <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;z&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;yes&quot; //Magically enables all flags and ignores immunity values. <br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; &quot;AdminFlags&quot; <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; // ORDER MATTERS! <br />&nbsp; &nbsp; // The order of choice is from top to bottom: <br />&nbsp;<br />&nbsp; &nbsp; // &quot;Admin Flag(s)&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Points for vote (can be negative)&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;c&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;3&quot; // Kick other players. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;b&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; //Generic admin; required for admins. <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;t&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; //Custom <br />&nbsp; &nbsp; } <br />&nbsp;<br />&nbsp; &nbsp; // isn't implemented yet <br />&nbsp; &nbsp; &quot;NamesBeginWith&quot; <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; //&nbsp; &nbsp; &quot;Name Begins with&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;Points for vote (can be negative)&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;-W3E-&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; } <br />&nbsp;<br />&nbsp; &nbsp; // isn't implemented yet <br />&nbsp; &nbsp; &quot;NamesContain&quot; <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; //&nbsp; &nbsp; &quot;Names Contain&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Points for vote&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;none&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;0&quot; <br />&nbsp; &nbsp; } <br />&nbsp;<br />&nbsp; &nbsp; &quot;MapPool&quot; <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; // Map&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Weighted Points (Added to vote when picked) <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_dustbowl&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_egypt_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_gorge&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_gravelpit&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_junction_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_mountainlab&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_steel&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_5gorge&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_badlands&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_coldfront&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_fastlane&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_freight_final1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_granary&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_well&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_yukon_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_foundry&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_gullywash_final1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_process_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_standin_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_snakewater_final1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ctf_2fort&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ctf_doublecross&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ctf_sawmill&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ctf_turbine&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;ctf_well&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_badlands&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_harvest_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_lakeside_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_nucleus&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_sawmill&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_viaduct&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;koth_king&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_badwater&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_frontier_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_goldrush&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_hoodoo_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_thundermountain&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_upward&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pl_barnblitz&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;plr_hightower&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;plr_pipeline&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;plr_nightfall_final&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;sd_doomsday&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;0&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;cp_degrootkeep&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;0&quot; <br />&nbsp; &nbsp; } <br />}</code><hr />
<!-- END TEMPLATE: bbcode_code_printable -->As ROOT admin, you can cancel any voting (untested) and issue this comand in your console: <i>sm_rcon sm_cancelvoting</i><br /><br />As ROOT admin you can also Initialize the data, just in cause you need it after doing a cancel vote... <i>sm_init</i><br /><br />Players can type !revote anytime during the voting progress to change their votes.<br /><br />Just compile the sourcecode at <a href="" target="_blank">http://www.sourcemod...ompiler.php</a> and put the other file in a directory similar to tf2/tf/addons/sourcemod/configs/vip_mapvotes.ini<br /><br />The directory can be changed near the very top of the sourcecode. This plugin uses BuildPath.<br /><br /><br />Try it out, let me know of any improvements you'd like to see.</div>

<br /> <div style="padding:6px">

<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<td><img class="inlineimg" src="https://forums.allie.../attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>

<a href="https://forums.allie...38;d=1401170712">vip_mapvotes.ini</a> (3.0 KB)

<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>

<a href="http://www.sourcemod...?file_id=133846"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1401170712">Get Source</a> (vip_mapvotes.sp - 22.4 KB)

<!-- END TEMPLATE: postbit_attachment -->


<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych