<div><b><u>Description:</u></b><br /><br />A easy interface for developers for add custom view models to the weapons.<br /><br /><br /><b><u>Natives:</u></b><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: #FF8000">/**<br /> * Add a custom view model to a weapon<br /> *<br /> * @param client Player for check<br /> * @String weapon Weapon to replace<br /> * @param weapon_index The weapon precached index with the view model<br /> * @return no return<br /> */<br /></span><span style="color: #0000BB">native FPVMI_AddViewModelToClient</span><span style="color: #007700">(</span><span style="color: #0000BB">int client</span><span style="color: #007700">, </span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">weapon</span><span style="color: #007700">, </span><span style="color: #0000BB">int weapon_index</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**<br /> * Remove a custom view model to a weapon<br /> *<br /> * @param client Player for check<br /> * @String weapon Weapon to replace<br /> * @return no return<br /> */<br /></span><span style="color: #0000BB">native FPVMI_RemoveViewModelToClient</span><span style="color: #007700">(</span><span style="color: #0000BB">int client</span><span style="color: #007700">, </span><span style="color: #0000BB">char</span><span style="color: #007700">[] </span><span style="color: #0000BB">weapon</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>Example plugin:<br /><a href="https://github.com/F...ualintinity.sp"target="_blank">https://github.com/F...inity.sp</a><br /><br /><br />You can get more view models here -> <a href="http://gamebanana.com" target="_blank">http://gamebanana.com</a><br /><br /><br /><b><u>Credits:</u></b><br /><br />Custom viewmodel snippet - <a href="https://forums.alliedmods.net/showthread.php?t=273885" target="_blank">https://forums.allie...t=273885</a><br /><br /><br /><b><u>Donations</u> (optional)</b>:<br /><br />If you apreciate my work, you can donate me via <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LWD5V2WBKDQPQ" target="_blank">paypal</a> or with a <a href="https://steamcommunity.com/tradeoffer/new/?partner=51342916&token=zUImHQui" target="_blank">trade offer</a><br /><br /><br /><font size="3"><b><u>Download:</u></b><br /><br /><b><a href="https://github.com/Franc1sco/First-Person-View-Models-Interface" target="_blank">Main repository</a><br /><a href="https://github.com/Franc1sco/First-Person-View-Models-Interface/archive/master.zip" target="_blank">Direct download</a><br /><a href="https://github.com/Franc1sco/First-Person-View-Models-Interface/commits/master" target="_blank">Code changes</a></b></font></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
[ANY] First Person View Models Interface
Temat rozp. Adminek AMXX.PL, 26.12.2015 19:30
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych