SA-MP Forums Archive
[Include] a_td "Little include to TextDraw's" - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] a_td "Little include to TextDraw's" (/showthread.php?tid=545910)



a_td "Little include to TextDraw's" - Daewoo - 11.11.2014

Hi.
I present you my first include: a_td
This include add animate/fade TextDraw color.

Big update ! i fix big bug ! please update include

Download:
Download a_td.inc
Features:
Код:
TextDrawFade(Text:id, delay=5, r, g, b, a, r2, g2, b2, a2, ColorFade, playerid=-1, bool:hide=false);
Parameters:
Код:
PlayerTextDrawFade(playerid, PlayerText:id, delay=5, r, g, b, a, r2, g2, b2, a2, ColorFade, bool:hide=false);
Parameters: ColorFade type:
Код:
#define FADE_COLOR_FONT				0 //Animate TextDraw Font
#define FADE_COLOR_BOX				1 //Animate TextDraw Box
Callbacks:
Код:
OnTextDrawFadeInit(Text:id, delay, r, g, b, a, r2, g2, b2, a2, ColorFade, playerid, bool:hide);
Returns:
Код:
OnTextDrawFadeEnd(Text:id, playerid, delay, bool:hide, ColorFade);
[u]Returns:[u]
Код:
OnPlayerTextDrawFadeInit(playerid, PlayerText:id, delay=5, r, g, b, a, r2, g2, b2, a2, ColorFade, bool:hide=false);
The same as OnTextDrawFadeInit, but for Playertextdraws.

Код:
OnPlayerTextDrawFadeEnd(playerid, Text:id, delay, bool:hide, ColorFade);
The same as OnTextDrawFadeEnd, but for Playertextdraws.

SS:
Install and see for yourself.

In the future: Thanks.
Author ReveresPL = Daewoo !


Re: a_td "Little include to TextDraw's" - Rudy_ - 11.11.2014

Pretty nice work, Haven't tested or seen the code. But if it works, Great job.


Re: a_td "Little include to TextDraw's" - Arastair - 11.11.2014

Seems good, gonna test it soon


Re: a_td "Little include to TextDraw's" - Daewoo - 11.11.2014

Thanks, works in 100%.
I forgot to add callbacks, but soon I will add on a computer


Re: a_td "Little include to TextDraw's" - Daewoo - 12.11.2014

BIGG Update !
Fix Bug Big Bug !