<div><div align="center"><img src="http://i.imgur.com/nKpjKR1.jpg"border="0" alt="" /></div><br /><b><font color="#408000">☄</font></b><b> Description</b><br /><ul><li>A simple plugin that add a menu from which you can choose your AWP skin. The menu can be accessed by typing <b><font color="#0000FF">/awp</font></b> in the chat.</li>
</ul><br /><b><font color="#408000">☄</font></b><b> Cvars</b><br /><ul><li><b><font color="#008000">am_selected</font></b><b><font color="#FF0000"> "y~ rSELECTED y~"</font></b> -- the text that will be shown next to the selected skin.</li>
<li><b><font color="#008000">am_vip_only</font></b><b><font color="#FF0000"> "y~ rVIP y~"</font></b> -- the text that will be shown if you don't have access to the skin.</li>
<li><b><font color="#008000">am_open_at_spawn</font></b><b><font color="#FF0000"> "0"</font></b> -- whether the menu will be automatically opened on first spawn.</li>
</ul><br /><b><font color="#408000">☄</font></b><b> Adding skins</b><br /><ul><li>The skins can be added in <b><font color="#0000FF">configs/AWPModels.ini</font></b> by following the example: <br /><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">"Skin name" "v_ model" "p_model" "flag"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></li>
<li>If the skin doesn't have a p_ model, you can leave the field blank:<br /><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">"Skin name" "v_ model"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></li>
<li>The "flag" field can be left empty if you want the skin to be available for all players, otherwise type in the VIP flag: <br /><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">"Global skin" "v_ model" "p_ model" "VIP skin" "v_ model" "p_ model" "flag"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></li>
<li>Example:<br /><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">"Default"
<br />"Cool AWP" "models/v_coolawp.mdl" "models/p_coolawp.mdl"
<br />"Army AWP" "models/v_armyawp.mdl" "models/p_armyawp.mdl"
<br />"Crom AWP" "models/some_folder/v_blabla.mdl" "models/some_folder/v_blabla.mdl"
<br />"asdsdsadsad AWP" "models/asdsadasdsadsadsasadsad.mdl"
<br />"VIP AWP" "models/v_vipawp.mdl" "models/p_vipawp.mdl" "b"
<br />"VIP AWP without p_ model" "models/v_vipawp.mdl" "" "b"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></li>
</ul></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/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...08"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1485954899">GetSource</a> (crx_awp_models.sma - 4.9 KB)
</td>
</tr><tr>
<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>
<td>
<a href="https://forums.allie...PModels.ini</a>(391 Bytes)
</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
AWP Models
Temat rozp. Adminek AMXX.PL, 01.02.2017 14:15
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych