<?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%3AgetWeapontypeModel</id>
	<title>Weapon::getWeapontypeModel - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Weapon%3A%3AgetWeapontypeModel"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Weapon::getWeapontypeModel&amp;action=history"/>
	<updated>2026-07-24T21:54:37Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Weapon::getWeapontypeModel&amp;diff=16518&amp;oldid=prev</id>
		<title>imported&gt;Sgoldik в 04:20, 31 июля 2018</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Weapon::getWeapontypeModel&amp;diff=16518&amp;oldid=prev"/>
		<updated>2018-07-31T04:20:42Z</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 the model of any weapon.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Can also take an ammo hash?&amp;lt;br&amp;gt;sub_6663a(&amp;amp;amp;l_115B, WEAPON::GET_WEAPONTYPE_MODEL(${ammo_rpg}));&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.weapon.getWeapontypeModel(weaponHash);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;weaponHash:&amp;#039;&amp;#039;&amp;#039; Model hash or name&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Model hash or name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.keys.bind(0x76, false, function () { // F7 key&lt;br /&gt;
    let weaponHash = mp.game.invoke(`0x0A6DB4965674D243`, mp.players.local.handle); //GET_SELECTED_PED_WEAPON&lt;br /&gt;
    let weaponModel = mp.game.weapon.getWeapontypeModel(weaponHash);&lt;br /&gt;
    mp.gui.chat.push(`hash: ${weaponHash}, model: ${weaponModel}`);&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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;Sgoldik</name></author>
	</entry>
</feed>