<div><img src="http://i.imgur.com/E40Knt6.png"border="0" alt="" /><br /><br />This is pretty simple plugin, which allows you to set player models / arms for different flags. For example Counter terrorists with flag a (reservation) needs to have default model "models/players/xxx.mdl". Few guys requested this to me, because they couldnt find any plugin like this, so I made it and decided to release it.<br /><br /><br /><br /><br /><img src="http://i.imgur.com/Na4lxQ9.png" border="0" alt="" /><br /><br />The name of section needs to be like this: <b>"{FLAG}-{TEAM}" { .... }</b><br /><b>def</b> flag stands for default. It is for users, that don't have any flags.<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br /><img src="http://i.imgur.com/Rr1mHKp.png"border="0" alt="" /><br /></div>
</div>
</div><br />Here is simple example<br /><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">"Player_models_by_flags"
<br /></span><span style="color: #007700">{
<br /> </span><span style="color: #FF8000">//Default terrorist arms.
<br /> </span><span style="color: #DD0000">"def-t"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"arms_path" "models/weapons/t_arms_separatist.mdl"
<br /> </span><span style="color: #007700">}
<br />
<br /> </span><span style="color: #FF8000">//People with 'z' (root) flag CT side player model and arms.
<br /> </span><span style="color: #DD0000">"z-ct"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"model_path" "models/player/custom_player/zombie/mummy/mummy.mdl"
<br /> "arms_path" "models/weapons/t_arms_professional.mdl"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #DD0000">"z-t"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"model_path" "models/player/custom_player/zombie/crimsonhead/crimsonhead.mdl"
<br /> "arms_path" "models/player/custom_player/zombie/romeo_zombie/romeo_zombie_arms.mdl"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #DD0000">"a-t"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"model_path" "some/path/model2T.mdl"
<br /> "arms_path" "some/path/model2T.mdl"
<br /> </span><span style="color: #007700">}
<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br /><br /><img src="http://i.imgur.com/hhp72rl.png"border="0" alt="" /><br /><i>If you have custom models, you will need this plugin. It will download <br />and precahe all files inside downloads.ini</i><br /><br /><a href="https://forums.alliedmods.net/showthread.php?p=602270" target="_blank"><img src="http://i.imgur.com/A2WmOyc.png" border="0" alt="" /></a><br /><br /><br /><br /><br /><img src="http://i.imgur.com/MZUQOSQ.png" border="0" alt="" /><ol style="list-style-type: decimal"><li>Download <b>'Player models from flags.zip'</b></li>
<li>Download <b>Sm downloader</b> (if you have custom models)</li>
<li>Extract all the files inside right place.</li>
<li>Edit <b>downloads.in</b>i <i>addons/sourcemod/configs</i>. Place there all your custom model file paths.</li>
<li>Edit <b>skins.txt</b> <i>addons/sourcemod/configs/flagplayerskins/</i>.</li>
<li>Change map</li>
<li>Enjoy new player arms / models</li>
</ol><br /><img src="http://i.imgur.com/yvzQaDW.png"border="0" alt="" /><br /><br /><a href="https://steamcommunity.com/tradeoffer/new/?partner=110947069&token=73EA67v8" target="_blank"><img src="http://i.imgur.com/k9M4DF6.png" border="0" alt="" /></a></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<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...2643824">Playermodels from flags.zip</a> (19.1 KB)
</td>
</tr>
</table>
</fieldset>
</div>
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

[CS:GO] Players skins from flags
Temat rozp. Adminek AMXX.PL, 13.01.2016 00:45
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych