useParticleFxAsset
USE_PARTICLE_FX_ASSET0x6C38AF3693A69A91The GTA V native USE_PARTICLE_FX_ASSET of the GRAPHICS namespace, as LS:MP client scripts call it: the global function useParticleFxAsset, in JavaScript and in Lua.
useParticleFxAsset(name: string): voiduseParticleFxAsset(name: string)Usage
JavaScript
useParticleFxAsset(name);Lua
useParticleFxAsset(name)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
name | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
From the b678d decompiled scripts:
useParticleFxAsset("FM_Mission_Controler");
useParticleFxAsset("scr_apartment_mp");
useParticleFxAsset("scr_indep_fireworks");
useParticleFxAsset("scr_mp_cig_plane");
useParticleFxAsset("scr_mp_creator");
useParticleFxAsset("scr_ornate_heist");
useParticleFxAsset("scr_prison_break_heist_station");Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void USE_PARTICLE_FX_ASSET(const char* name)- Hash
0x6C38AF3693A69A91- Formerly
_SET_PTFX_ASSET_NEXT_CALL_USE_PARTICLE_FX_ASSET_NEXT_CALL