Hey guys, what's the code, or is there a way to get projectiles' time to live to be random from like 0 to 0.5 seconds?
I made a flame thrower that uses the C4 explosive effect to cause the flame which is pretty cool. HOwever, they only explode at a certain range which causes the flame thrower effect on the client ends but doesn't cause the whole flame effect. I'm using the standard PKM weapon to fire essentially C4 out from the barrel of the gun. I just need them to either explode or "die" after a random time period to give me the full effect of a flame thrower.
|