TextDraw problem
#1

Has anyone else ever had the problem of text draws deleting the wrong ones, Im trying to make a countdown, in text draws, I have made it work properly except when i remove the countdown text draw the second text draw gets removed aswell, is there a way to stop this? and i have assigned both textdraws to different variables
Reply
#2

are you sure you used the right variables?...
I guess best is to post that part of the script here, so we can help maybe
Reply
#3

Remember that you should initialize textdraw variables with INVALID_TEXT_DRAW.
That is, for example:

pawn Код:
new Text:MyTextdraw = Text:INVALID_TEXT_DRAW;
Otherwise, ID 0 will be assigned to it by default, and you could end up doing the wrong actions to the first created textdraw.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)