textdraw overwriting another?
#1

For some reason my textdraw sets string in a another textdraw while it isn't even supposed to do that.

I've checked my code 200 times and it updates the string in the correct textdraw (player_td[playerid][info]) but it also updates (global_td[clock]) for whatever reason.

Anyone know what the cause of this may be?
Reply
#2

I had this problem, my problem was that I had set the Textdraw's color/size/background before actually creating it like TextDrawID = CreateTextDraw(etc..) so make sure you first CreateTextDraw then define it's components.
Reply
#3

I actually just got it fixed, had to make the function public which fixed it.

Thanks anyhow
Reply
#4

Quote:
Originally Posted by xFuTuRe
Посмотреть сообщение
I actually just got it fixed, had to make the function public which fixed it.

Thanks anyhow
That wouldn't do anything unless you have timers calling that function.
Reply
#5

Quote:
Originally Posted by Pottus
Посмотреть сообщение
That wouldn't do anything unless you have timers calling that function.
For whatever reason it did fix it, don't ask me why.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)