Skocz do zawartości

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
 

Zdjęcie

[CSS] Custom weapons models interface (Redux)


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

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 25.07.2014 22:57

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><u>Description:</u></b><br /><br />Add custom weapons models with a easy API for developers.<br /><br />This plugin use <a href="https://forums.allie...181558?t=181558" target="_blank">this snippet</a><br /><br />Need SMLIB for compile this plugin<br /><br /><br /><b><u>Natives:</u></b><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">/**<br />&nbsp;* Set a custom model to a weapon.<br />&nbsp;*<br />&nbsp;* @param weaponindex&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Weapon index for set model.<br />&nbsp;* @param modelindex&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Model index to set.<br />&nbsp;* @param client&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Client owned of weapon (0 = no client).<br />&nbsp;* <br />&nbsp;* @noreturn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp;*/<br />native CWI_SetWeapon(weaponindex, modelindex, client=0);<br /><br /><br /><br />/**<br />&nbsp;* Remove the custom model to a weapon.<br />&nbsp;*<br />&nbsp;* @param weaponindex&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Weapon index for remove the custom model.<br />&nbsp;* @param client&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Client owned of weapon (0 = no client).<br />&nbsp;* <br />&nbsp;* @noreturn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp;*/<br />native CWI_DelWeapon(weaponindex, client=0);</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><font size="5">Soon more</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=1406324198">Custom Weapons Interface by Franc1sco franug.zip</a> (20.4 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- 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