how to clear textdraw after show samp
#1

Код:
            	format(string,sizeof(string),"{FF0000}hello world ",mrand);
	textdraw1= TextDrawCreate(326, 140,string);
	TextDrawFont(textdraw1, 1);
	TextDrawLetterSize(textdraw1, 0.3, 2.1);
TextDrawColor(textdraw1, 0xDFDFDFFF);
	TextDrawSetOutline(textdraw1, 0);
	TextDrawSetProportional(textdraw1, 1);
	TextDrawSetShadow(textdraw1, 0);
	TextDrawShowForPlayer(i, textdraw1);
how to clear text draw after its shows up like after 5 second ?
and how to make a textdraw with many colors in it like
Hello show in green coloro and wolrd in white for example
thx for help
Reply
#2

Код:
how to clear text draw after its shows up like after 5 second ?
Use a timers and TextDrawHideForPlayer
Код:
and how to make a textdraw with many colors in it like
~b~= blue ~r~red ~g~=green ~w~=white.. so you will have :
pawn Код:
~b~he~w~llo ~g~world
Reply
#3

Hide it in a timer:

https://sampwiki.blast.hk/wiki/SetTimerEx

For colours:

https://sampwiki.blast.hk/wiki/GameTextStyle
Reply
#4

THx i used SetTimerEx
SOLVED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)