Graphics::startParticleFxNonLoopedOnPedBone: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE('scr_sh_bong_smoke', PLAYER::PLAYER_PED_ID(), -0.025f, 0.13f, 0f, 0f, 0f, 0f, 31086, 0x3F800000, 0, 0, 0);<br><br>Axis - Invert Axis Flags<br><br>list: pastebin.com/N9unUFWY
GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE('scr_sh_bong_smoke', PLAYER::PLAYER_PED_ID(), -0.025f, 0.13f, 0f, 0f, 0f, 0f, 31086, 0x3F800000, 0, 0, 0);<br><br>Axis - Invert Axis Flags<br><br>list: pastebin.com/N9unUFWY
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''effectName:''' String
*'''effectName:''' String
Line 20: Line 20:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:13, 6 May 2017

GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE('scr_sh_bong_smoke', PLAYER::PLAYER_PED_ID(), -0.025f, 0.13f, 0f, 0f, 0f, 0f, 31086, 0x3F800000, 0, 0, 0);

Axis - Invert Axis Flags

list: pastebin.com/N9unUFWY

Syntax

mp.game.graphics.startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ);

Required Arguments

  • effectName: String
  • ped: Ped handle or object
  • offsetX: float
  • offsetY: float
  • offsetZ: float
  • rotX: float
  • rotY: float
  • rotZ: float
  • boneIndex: int
  • scale: float
  • axisX: Boolean
  • axisY: Boolean
  • axisZ: Boolean

Return value

  • Boolean

Example

// todo

See also