<div><font face="Trebuchet MS"><font size="6"><font color="#b5762d">Virtual Weapon Slots</font></font></font><br /><font size="1"><font color="#4C4C4C">- v0.0.1, posted at : 12/09/2023</font></font><br /><br />This is a beta version of my new project. Now you can use more than 2 of the same weapons. For example, you can have 2 special AKs or AWPs.<br />Even if you drop your AK, when you pick it up you will be able to reopen the menu and switch your AK.<br /><br /><a href="https://www.youtube.com/watch?v=RecG6hZ_-vk" target="_blank" rel="nofollow noopener">Short Video</a><br /><br /><font face="Trebuchet MS"><b><font color="#006699"><font size="4">Include File</font></font></b><br /><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">#if defined _virtual_weapon_slots_included<br /> #endinput<br />#endif<br />#define _virtual_weapon_slots_included<br /><br />/**<br /> * Register Weapons<br /> *<br /> * @param szName Name on Menu<br /> * @param iCSW CSW_ of weapon<br /> * @return An internal Weapon Index<br /> */<br />native virtual_weapon_register(const szName[], iCSW)<br /><br />/**<br /> * Give weapon<br /> *<br /> * @param Id Player Index<br /> * @param iSlot Weapon Internal Index<br /> * @param iCSW Weapon default ID<br /> */<br />native virtual_weapon_give(id, iSlot, iCSW)<br /><br />/**<br /> * Remove Weapon<br /> *<br /> * @param Id Player Index<br /> * @param iSlot Weapon Internal Index<br /> * @param iCSW Weapon default ID<br /> */<br />native virtual_weapon_take(id, iSlot, iCSW)<br /><br />/**<br /> * Checks if user has the weapon (Holding or not holding)<br /> *<br /> * @param Id Player Index<br /> * @param iSlot Weapon Internal Index<br /> */<br />native virtual_weapon_user_has(id, iSlot)<br /><br />/**<br /> * Gets the Weapon's Internal Index<br /> *<br /> * @param Id Player Index<br /> */<br />native Float:virtual_weapon_get_current(id)</code><hr />
</div></font><br /><br />Despite this is not 100% finish, the main point of the plugin is working. And for that reason i am releasing it as a beta version so you can start using it.</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="https://www.amxmodx....27"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1694541920">GetSource</a> (virtual_weapon_slots.sma - 6.2 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...n_slots.inc</a>(969 Bytes)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...n_slots.txt</a>(589 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
[VWS] Virtual Weapon Slots - (ie. Multiple AKs at same time)
Temat rozp. Adminek AMXX.PL, 12.09.2023 19:08
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych