SA-MP Forums Archive
Help with fader, it won't disappear - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with fader, it won't disappear (/showthread.php?tid=592786)



Help with fader, it won't disappear - DemME - 29.10.2015

Hey so I used the fader from here. now everytime I get into interior it will do that fade and it will freeze the player for some time untill the objects will load, although. when I try to do so it fade to black, and it keeps to stay at black, it won't disppear after some seconds.

the include I used.

the line : https://sampforum.blast.hk/showthread.php?tid=124091

PHP код:
FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0); 



Re: Help with fader, it won't disappear - DemME - 30.10.2015

help please? that's really critical.


Re: Help with fader, it won't disappear - Gammix - 30.10.2015

Because the include doesn't fade back.

pawn Код:
public OnFadeComplete(playerid, beforehold)
This is called when the fade is completed, you can re fade from black to 0 opacity and then again use this callback to hide the fade textdraw. Use per player arrays to check fade state accordingly in the callback.