Skip to main content

TRIGGER_PTFX_ON_VEH

Game.TriggerPtfxOnVehHash0x3C7B6092
Usage
local result = Game.TriggerPtfxOnVeh(fxName, carIndex, x, y, z, rx, ry, rz, scale)

Trigger a particle effect on an car with an offset position and orientation.

Parameters

  • fxNamestringchar*
  • carIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • rxnumberfloat
  • rynumberfloat
  • rznumberfloat
  • scalenumberfloat

Returns

  • resultbooleanreturn value
Original declaration
// 0x3C7B6092
bool TRIGGER_PTFX_ON_VEH(char* fxName, int carIndex, float x, float y, float z, float rx, float ry, float rz, float scale);