<?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=Krayl</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=Krayl"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Krayl"/>
	<updated>2026-06-13T07:44:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::setPlayerInvincible&amp;diff=10469</id>
		<title>Player::setPlayerInvincible</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::setPlayerInvincible&amp;diff=10469"/>
		<updated>2018-05-23T16:06:52Z</updated>

		<summary type="html">&lt;p&gt;Krayl: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simply sets you as invincible (Health will not deplete).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Use 0x733A643B5B0C53C1 instead if you want Ragdoll enabled, which is equal to:&amp;lt;br&amp;gt;*(DWORD *)(playerPedAddress + 0x188) |= (1 &amp;amp;lt;&amp;amp;lt; 9);&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.player.setInvincible(toggle);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;toggle:&#039;&#039;&#039; Boolean&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Undefined&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Krayl</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Time::setClockTime&amp;diff=9920</id>
		<title>Time::setClockTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Time::setClockTime&amp;diff=9920"/>
		<updated>2018-03-13T08:14:13Z</updated>

		<summary type="html">&lt;p&gt;Krayl: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SET_CLOCK_TIME(12, 34, 56);&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.time.setClockTime(hour, minute, second);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;hour:&#039;&#039;&#039; int&lt;br /&gt;
*&#039;&#039;&#039;minute:&#039;&#039;&#039; int&lt;br /&gt;
*&#039;&#039;&#039;second:&#039;&#039;&#039; int&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Undefined&#039;&#039;&#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//Realtime&lt;br /&gt;
const date = new Date();&lt;br /&gt;
&lt;br /&gt;
function syncTime() {&lt;br /&gt;
    mp.game.time.setClockTime(date.getHours(), date.getMinutes(), date.getSeconds());&lt;br /&gt;
}&lt;br /&gt;
setInterval(syncTime, 2000);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Time_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Time API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Krayl</name></author>
	</entry>
</feed>