Garry's Mod Wiki


  CLuaParticle:SetLifeTime( number lifeTime )


Sets the 'life time' of the particle, how long the particle existed since its creation.

This value should always be between 0 and CLuaParticle:GetDieTime.

It changes automatically as time goes.

If the life time of the particle will be more than CLuaParticle:GetDieTime, it will be removed.


1 number lifeTime
The new life time of the particle.