SA-MP Forums Archive
Joe's fader. - 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: Joe's fader. (/showthread.php?tid=480567)



Joe's fader. - h4Xz0R - 11.12.2013

I tried like 5 times to make the screen fade from nothing to black and then after that, fade it black to nothing. I believe I set the colors codes wrong, but I have no idea how to set it correctly then, as I have tried many times.

Could anyone give some help, please?

The function [for those who don't use this include]:

FadeColorForPlayer(playerid,RR1,GG1,BB1,AA1,RR2,GG 2,BB2,AA2,steps,hold):

Thanks.


Re: Joe's fader. - Baboon - 11.12.2013

from black to nothing:

0 0 0 255 0 0 0 0

from nothing to black:

0 0 0 0 0 0 0 255