START PTFX ON VEH

From GTAMods Wiki
Jump to navigation Jump to search
START_PTFX_ON_VEH
Number of parameters: 9
Parameter #TypeDescription
1.stringParticle effect name
2.intVehicle
3.floatX-offset
4.floatY-offset
5.floatZ-offset
6.floatYaw
7.floatPitch
8.floatRoll
9.floatEffect scale (1.0f = standard)
Return value:
TypeDescription
intHandle to particle effect instance

Starts and sticks a particle effect to a vehicle. (effect follows vehicle around)

Returns a handle to the ptfx instance