<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi there.<br />I tried to make a plug-in to switch the "sv_downloadurl" by country.<br />The server where the foreigners come, this plugin is very convenient.<br /><br />Idea : <a href="https://forums.allie...ad.php?p=856637" target="_blank">Multi Sv_downloadurl v1.1</a><br />Github Repository : <a href="https://github.com/iesaba/Country-Multi-Download-URL" target="_blank">Country-Multi-Download-URL</a><br /><br />I've tested with CSGO.<br />example country_multi_download_url.cfg<br />Add country? support <a href="http://www.geonames.org/countries/" target="_blank">ISO-3166 alpha3</a>.<br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"Multi Download URL"
<br /></span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"USA"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"url" "http://example.us/srcds"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #DD0000">"CAN"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"url" "http://example.ca/srcds"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #DD0000">"JPN"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"url" "http://example.jp/srcds"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #FF8000">// Default
<br /> // * Not delete!! *
<br /> </span><span style="color: #DD0000">"DEF"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"url" "http://example.com/srcds"
<br /> </span><span style="color: #007700">}
<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Please do not annoy the hosting provider. (high-traffic.. etc...)<br /><br /><font size="1">Newbie english sorry.</font></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...38;d=1408337917">Country-Multi-Download-URL.zip</a> (6.3 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse
Country Multi Download URL
Temat rozp. Adminek AMXX.PL, 18.08.2014 06:23
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych