Difference between revisions of "START PTFX ON PED BONE"

From GTAMods Wiki
Jump to navigation Jump to search
(Added link to particle effects list)
 
Line 25: Line 25:
 
|rd=Handle to particle effect instance
 
|rd=Handle to particle effect instance
 
}}
 
}}
Starts and sticks a particle effect to a ped's bone.  
+
Starts and sticks a [[List_of_particle_effects | particle effect]] to a ped's bone.  
 
Returns a handle to the ptfx instance.
 
Returns a handle to the ptfx instance.

Latest revision as of 19:27, 8 September 2011

START_PTFX_ON_PED_BONE
Number of parameters: 10
Parameter #TypeDescription
1.stringParticle effect name
2.intPed id
3.floatX-offset
4.floatY-offset
5.floatZ-offset
6.floatYaw
7.floatPitch
8.floatRoll
9.int Ped bone ID
10.floatEffect scale (1.0f = standard)
Return value:
TypeDescription
intHandle to particle effect instance

Starts and sticks a particle effect to a ped's bone. Returns a handle to the ptfx instance.