<?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=Graphics%3A%3AstartParticleFxNonLoopedOnPedBone</id>
	<title>Graphics::startParticleFxNonLoopedOnPedBone - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Graphics%3A%3AstartParticleFxNonLoopedOnPedBone"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Graphics::startParticleFxNonLoopedOnPedBone&amp;action=history"/>
	<updated>2026-07-24T22:25:16Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Graphics::startParticleFxNonLoopedOnPedBone&amp;diff=10501&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 13:35, 4 декабря 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Graphics::startParticleFxNonLoopedOnPedBone&amp;diff=10501&amp;oldid=prev"/>
		<updated>2024-12-04T13:35:15Z</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;
=== Summary ===&lt;br /&gt;
Triggers a non-looped particle effect on a specific bone of a ped. The particle&amp;#039;s position, rotation, and scale can be customized, along with axis inversion flags.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.graphics.startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;effectName:&amp;#039;&amp;#039;&amp;#039; {{RageType|String}} - The name of the particle effect to play.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ped:&amp;#039;&amp;#039;&amp;#039; {{RageType|Ped}} - The ped handle or object on which the effect will be played.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;offsetX:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - X-axis offset from the bone.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;offsetY:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - Y-axis offset from the bone.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;offsetZ:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - Z-axis offset from the bone.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rotX:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - Rotation around the X-axis.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rotY:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - Rotation around the Y-axis.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rotZ:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - Rotation around the Z-axis.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;boneIndex:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} - Index of the ped&amp;#039;s bone where the effect is applied.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;scale:&amp;#039;&amp;#039;&amp;#039; {{RageType|float}} - The scale of the particle effect.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;axisX:&amp;#039;&amp;#039;&amp;#039; {{RageType|Boolean}} - Inverts the effect along the X-axis if true.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;axisY:&amp;#039;&amp;#039;&amp;#039; {{RageType|Boolean}} - Inverts the effect along the Y-axis if true.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;axisZ:&amp;#039;&amp;#039;&amp;#039; {{RageType|Boolean}} - Inverts the effect along the Z-axis if true.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{RageType|Boolean}}&amp;#039;&amp;#039;&amp;#039; - Returns true if the effect was successfully started.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
This example spawns a particle effect (&amp;quot;scr_sh_bong_smoke&amp;quot;) on the player&amp;#039;s head bone.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const ped = mp.players.local.handle;&lt;br /&gt;
const boneIndex = 31086; // Head bone index&lt;br /&gt;
const effectName = &amp;quot;scr_sh_bong_smoke&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
mp.game.graphics.startParticleFxNonLoopedOnPedBone(&lt;br /&gt;
    effectName,&lt;br /&gt;
    ped,&lt;br /&gt;
    -0.025, 0.13, 0.0, // Offsets&lt;br /&gt;
    0.0, 0.0, 0.0, // Rotations&lt;br /&gt;
    boneIndex,&lt;br /&gt;
    1.0, // Scale&lt;br /&gt;
    false, false, false // No axis inversion&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
mp.gui.chat.push(`Particle effect &amp;quot;${effectName}&amp;quot; started on ped&amp;#039;s head.`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Graphics_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>