SA-MP Forums Archive
How Get TextDraw Text?? - 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: How Get TextDraw Text?? (/showthread.php?tid=389875)



How Get TextDraw Text?? - adri1 - 03.11.2012

Example:

new str[64];
format(str,sizeof(str),"%s",GetTextDrawText(TextDr aw0));
SendClientMessage(playerid,-1,str);


Re: How Get TextDraw Text?? - SuperViper - 03.11.2012

You need to store the text in a variable once you set the text. You can do this with or without hooking.


AW: How Get TextDraw Text?? - Skimmer - 03.11.2012

Like this ?

pawn Код:
TextDrawSetString(textdraw0, "your text");
format(td_text0, sizeof(td_text0), "your text");



Respuesta: AW: How Get TextDraw Text?? - adri1 - 03.11.2012

Quote:
Originally Posted by MouseBreaker
Посмотреть сообщение
Like this ?

pawn Код:
TextDrawSetString(textdraw0, "your text");
format(td_text0, sizeof(td_text0), "your text");
but itґs a random textdraws...


AW: How Get TextDraw Text?? - Skimmer - 03.11.2012

See this

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