<?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=GetPlayerWeapons</id>
	<title>GetPlayerWeapons - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=GetPlayerWeapons"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=GetPlayerWeapons&amp;action=history"/>
	<updated>2026-07-24T20:09:10Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=GetPlayerWeapons&amp;diff=10088&amp;oldid=prev</id>
		<title>imported&gt;Xabi в 21:51, 22 декабря 2022</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=GetPlayerWeapons&amp;diff=10088&amp;oldid=prev"/>
		<updated>2022-12-22T21:51:45Z</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;Returns an array of weapon hashes that contains all the weapons the player is currently holding.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot; &amp;gt;WeaponHash[] NAPI.Player.GetPlayerWeapons(Player player);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Required Arguments&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;player:&amp;#039;&amp;#039;&amp;#039; parameter input should be in &amp;#039;&amp;#039;&amp;#039;Player&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; This function returns data in &amp;#039;&amp;#039;&amp;#039;WeaponHash[]&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
==Usage example(s)==&lt;br /&gt;
Example Description&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot; &amp;gt;&lt;br /&gt;
WeaponHash[] playerWeapons = NAPI.Player.GetPlayerWeapons(player);&lt;br /&gt;
&lt;br /&gt;
foreach(WeaponHash weapon in playerWeapons) {&lt;br /&gt;
   // will loop through all player&amp;#039;s weapons.&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Serverside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Xabi</name></author>
	</entry>
</feed>