START PARTICLE FX LOOPED ON ENTITY

From GTAMods Wiki
Revision as of 16:53, 3 May 2015 by TheVideoVolcano (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
START_PARTICLE_FX_LOOPED_ON_ENTITY
Number of parameters: 12
Parameter #TypeDescription
1.StringParticle FX name, e.g "scr_agency3b_proj_rpg_trail"
2.IntegerEntity ID
3.FloatUnknown, likely Coord X
4.FloatUnknown, likely Coord Y
5.FloatUnknown, likely Coord Z
6.FloatUnknown, likely Angle X
7.FloatUnknown, likely Angle Y
8.FloatUnknown, likely Angle Z
9.FloatUnknown
10.BooleanUnknown, suggested: 0
11.BooleanUnknown, suggested: 0
12.BooleanUnknown, suggested: 0
Return value:
TypeDescription
Handle?Handle for the PTFX instance for use with REMOVE_PARTICLE_FX_LOOPED_ON_ENTITY

Examples

  • scr_agency3b_proj_rpg_trail
  • scr_agency3b_shot_chopper
  • proj_grenade_trail
  • scr_env_agency3b_smoke

Taken from agency_heist3b.txt

Code Example snippet

C++

myGraphic = GRAPHICS::START_PARTICLE_FX_LOOPED_ON_ENTITY("scr_env_agency3b_smoke", PLAYER::PLAYER_PED_ID(), 0f, 0f, 0f, 0f, 0f, 0f, 1f, 0, 0, 0);