SA-MP Forums Archive
Screen transparency - 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: Screen transparency (/showthread.php?tid=530331)



Screen transparency - Fjclip99 - 06.08.2014

Hi, i need little help.
So i have teleportation system on my server and it doesent look well just teleporting... i would like when you teleport your screen is fully black and then that black screen starts to transparent for about 3 seconds, after 3 seconds the screen is back normal.
Can someone help please ?


Re: Screen transparency - OKStyle - 06.08.2014

https://sampforum.blast.hk/showthread.php?tid=330482


Re: Screen transparency - Steel_ - 06.08.2014

This could help you
https://sampforum.blast.hk/showthread.php?tid=124091
and this
Code:
new Text:BlackScreen;
Code:
BlackScreen = TextDrawCreate(302.000000,1.000000,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
    TextDrawUseBox(BlackScreen,1);
    TextDrawBoxColor(BlackScreen,0x000000ff);
    TextDrawTextSize(BlackScreen,-52.000000,-738.000000);
    TextDrawAlignment(BlackScreen,2);
    TextDrawBackgroundColor(BlackScreen,0x000000ff);
    TextDrawFont(BlackScreen,1);
    TextDrawLetterSize(BlackScreen,1.000000,1.000000);
    TextDrawColor(BlackScreen,0x000000ff);
    TextDrawSetOutline(BlackScreen,1);
    TextDrawSetProportional(BlackScreen,1);
    TextDrawSetShadow(BlackScreen,1);