Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void () drawExplosion =
- {
- local entity explosionSmall;
- local float counter;
- local float lifeTime;
- lifeTime = time + 1;
- for (counter = 0; counter < 3; counter = counter + 1)
- {
- explosionSmall = spawn();
- explosionSmall.owner = self;
- explosionSmall.birthTime = time;
- explosionSmall.alpha = 0;
- setmodel(explosionSmall, "null");
- setorigin (explosionSmall, explosionSmall.origin + '0 0 20');
- pointparticles (particleeffectnum ("SMALL_EXPLOSION"), self.origin, '0 0 0', 1);
- explosionSmall.think = removeEntity;
- explosionSmall.nextthink = time + 0.3;
- }
- }
Add Comment
Please, Sign In to add comment