<?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=Entity%3A%3AgetHeightAboveGround</id>
	<title>Entity::getHeightAboveGround - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Entity%3A%3AgetHeightAboveGround"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Entity::getHeightAboveGround&amp;action=history"/>
	<updated>2026-07-25T00:27:22Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Entity::getHeightAboveGround&amp;diff=928&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 10:55, 2 ноября 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Entity::getHeightAboveGround&amp;diff=928&amp;oldid=prev"/>
		<updated>2024-11-02T10:55:05Z</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;
&lt;br /&gt;
The `getHeightAboveGround` function returns the entity’s height above the ground level in meters, making it straightforward to interpret the result as a metric measurement. This function can be useful for determining altitude in various gameplay scenarios, such as checking if a player or vehicle is flying above a certain threshold.&lt;br /&gt;
&lt;br /&gt;
=== Required Params ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;None&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;float&amp;#039;&amp;#039;&amp;#039; – Height in meters above ground level.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
entity.getHeightAboveGround();&lt;br /&gt;
&amp;lt;/syntaxhighlight&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;
// Example usage of getHeightAboveGround&lt;br /&gt;
&lt;br /&gt;
let heightAboveGround = mp.players.local.getHeightAboveGround();&lt;br /&gt;
mp.gui.chat.push(&amp;quot;Height above ground: &amp;quot; + heightAboveGround.toFixed(2) + &amp;quot; meters&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Entity_definition_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Entity API]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>