How to do a fading textdraw?
#3

you can use a timer + a counter
use a timer with 1000 ms (infinite loop)
use a couter (count) for example
set count+ 1 in the timer and set a
if(cout == 1) return TextDrawColor(Example,0x000000FF);
if(cout == 2) return TextDrawColor(Example,0x000000BB;
if(cout == 3) return TextDrawColor(Example,0x00000077);
if(cout == 4) return TextDrawColor(Example,0x00000033);
if(cout == 5) return TextDrawColor(Example,0x00000000);
if(cout == 5) return kill your timer ;

that will make your text disapear slowly
Reply


Messages In This Thread
How to do a fading textdraw? - by PCheriyan007 - 10.06.2011, 03:42
Re: How to do a fading textdraw? - by Tee - 10.06.2011, 04:09
Re : How to do a fading textdraw? - by Amine_Mejrhirrou - 10.06.2011, 04:11
Re: How to do a fading textdraw? - by Tee - 10.06.2011, 04:12
Re: How to do a fading textdraw? - by PCheriyan007 - 10.06.2011, 18:15
Re: How to do a fading textdraw? - by Sascha - 10.06.2011, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)