Get Textdraw String?
#1

Hey all,

I was trying to think of a way to actually read a Textdraw's string, is there any simple way? Any help would be appreciated

E.G: I set Textdraw0's string to 'Hello', now i want to be able to get the string value of Textdraw0 so it would read 'Hello'
Reply
#2

Everytime you change the value, put the same value in a variable.

-Conroy
Reply
#3

Quote:
Originally Posted by Conroy
Посмотреть сообщение
Everytime you change the value, put the same value in a variable.

-Conroy
That's what I thought I would have to do, just seeing if there was an easier way around it, because I have a fair few Textdraws, thanks anyway!
Reply
#4

Ideally, your script shouldn't rely on textdraws to hold information; textdraws should rely on the script to hold the information.
Reply
#5

I'm making a kind of 'News Box' using Textdraws, so I'm needing a way to store the string information, so the textdraw above it can read it and set it's string as the string from the Textdraw underneath it. It's to give it a kind of scrolling effect, would this be the right way to go about it?
Reply
#6

So your saying the older version of YSI has functions to move data from 1 Textdraw to another Textdraw? Could you link me to the version your talking about if possible?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)