| Catalyst   Member
 
 Posts: 213
 Threads: 32
 Joined: Aug 2014
 Reputation: 
3
 | 
			| Help, 
 
				Hello everyone,I need a suggestion,how to stop image fadding, I just maked player lying down and it stand up and image has faded.Its normal but how to stop fadding?
 I know how to use timer, but don't know the fade stop function.Help
 
 Thanks.There is the script
 
 void OnStart()
 {
 PlayMusic("map_01.ogg", true, 0.5, 6, 1, true);
 PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
 SetPlayerActive(false);
 SetPlayerCrouching(true);
 SetPlayerHealth(10);
 StartPlayerLookAt("LookArea", 3, 6, "StopPlayerLookAt");
 FadeOut(0);
 FadeIn(3);
 AddTimer("", 3, "Intro");
 SetPlayerJumpDisabled(true);
 SetPlayerMoveSpeedMul(0.35f);
 SetPlayerRunSpeedMul(0);
 SetPlayerLampOil(0);
 }
 
 Egypt CS ![[Image: 27003.png]](http://button.moddb.com/popularity/medium/mods/27003.png) |  | 
	| 08-29-2014, 12:44 PM |  | 
	
		| Slanderous   Posting Freak
 
 Posts: 1,606
 Threads: 78
 Joined: Dec 2012
 Reputation: 
63
 | 
			| RE: Help, 
 
				As far as I remember, you can't have both FadeIn and FadeOut in your scripts. You need to put a timer that triggers FadeIn. Put that timer in your void OnStart()
			 |  | 
	| 08-29-2014, 01:01 PM |  | 
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| RE: Help, 
 
				True lazzer.it is OR fadIN OR FadeOut.
 Both wil not work.
 Only with a timer added.
 |  | 
	| 08-29-2014, 02:27 PM |  |