Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fade_It(entity foo) =
- {
- if (foo.alpha < 0.1)
- {
- remove(foo);
- return;
- }
- foo.alpha = foo.alpha - 0.1;
- foo.think = Fade_It;
- foo.nextthink = time + 0.5;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement