<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Weapon%3A%3AgetWeaponClipSize</id>
	<title>Weapon::getWeaponClipSize - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Weapon%3A%3AgetWeaponClipSize"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Weapon::getWeaponClipSize&amp;action=history"/>
	<updated>2026-07-24T22:26:13Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Weapon::getWeaponClipSize&amp;diff=16510&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 11:15, 28 апреля 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Weapon::getWeaponClipSize&amp;diff=16510&amp;oldid=prev"/>
		<updated>2024-04-28T11:15:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
Returns the clip size of given weapon hash.&lt;br /&gt;
===Required Params===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;weaponHash&amp;#039;&amp;#039;&amp;#039; {{RageType|Number}} [[https://wiki.rage.mp/index.php?title=Weapons Weapon List]]&lt;br /&gt;
&lt;br /&gt;
===Return Value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039; {{RageType|Number}} &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.game.weapon.getWeaponClipSize(weaponHash);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const { weapon } = mp.players.local; //get the weapon from local players&lt;br /&gt;
if (weapon !== mp.game.joaat(&amp;quot;weapon_unarmed&amp;quot;)) {&lt;br /&gt;
	const clipSize = mp.game.weapon.getWeaponClipSize(weapon);&lt;br /&gt;
	mp.console.logInfo(`Current player weapon clip size is ${clipSize}`);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Weapon_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>