Burning the players, visible flame effects around the CS2 players

GroSSoMineTTofr1

Пользователь
Messages
1
Reaction score
0
Hi,

I'm testing a very simple CounterStrikeSharp plugin.

After 10 seconds, I create an info_particle_system on every alive player.

The code runs correctly:

  • IgnitePlayer() is called
  • CParticleSystem is created
  • EffectName is set to particles/explosions_fx/molotov_groundfire.vpcf
  • DispatchSpawn() is called
But no fire is visible in game.

Do I need to precache the particle first? If yes, what is the correct way to precache and attach a particle to a player in CS2?

Thanks.
 
Back
Top