<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NoUse11</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NoUse11"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/NoUse11"/>
	<updated>2026-06-23T15:15:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Pool::exists&amp;diff=20162</id>
		<title>Pool::exists</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Pool::exists&amp;diff=20162"/>
		<updated>2020-12-06T17:22:16Z</updated>

		<summary type="html">&lt;p&gt;NoUse11: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function is used for check, exists entity with ID in pool or not.&lt;br /&gt;
&lt;br /&gt;
===Attention / Увага / Предупреждение===&lt;br /&gt;
This function is a prayer for solving problems with server crashes on 1.1 (10_ branch). Be sure to use it and check absolutely all the fucking network elements of your server, otherwise it cunt.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boolean pool.exists(Number ID)&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Return true if entity exists, false if not exists.&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*&#039;&#039;&#039;ID/Entity:&#039;&#039;&#039; Entity ID or the entity itself, what you wanna check in pool.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example will check player with ID in pool, and write player name into chat if he exists.&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
let isPlayerExists = mp.players.exists(1488);&lt;br /&gt;
if (isPlayerExists) {&lt;br /&gt;
	let player = mp.players.at(1488);&lt;br /&gt;
	console.log(`Player with id 1488 exists and have nickname ${player.name}`);&lt;br /&gt;
} else {&lt;br /&gt;
	console.log(`Player by id 1488 does not exists...`);&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{EntityPool_function}}&lt;/div&gt;</summary>
		<author><name>NoUse11</name></author>
	</entry>
</feed>