OnPlayerClickTextDraw Array Issues
#7

Quote:
Originally Posted by [TC]XxJuggaloxX
Посмотреть сообщение
First off, I hold you both in Very high regards in your scripting ability, alot of what I do can actually be traced back to you guys and your scripts/help for other people.



I removed the LetterSize and compiled it again, it didn't seem to do anything, I must however mention that for some reason when I click another TD it does something... weird... https://imgur.com/a/gNWXB

Notice the Question Mark? When I press anything else it highlights just fine, however if I press it some random "Back" TD appears that doesn't exist anywhere in my script, I don't even have the word Back in anything other than the "TextDrawBackgroundColor" parts.
Also, my TD seems to move weirdly and disappears in spots. Any Ideas?
This sounds like IDs messing up. Although I have no clue how the "Back" TextDraw gets there if it's not even created anywhere. Any Filterscripts or includes that possibly create TextDraws (my first thought was Model Browser Include "Back" Button)? Or any TextDrawSetString using a string that has been used by something else before (this happened to me earlier, very hard to track issue with random words appearing in TextDraws)? This could be related to the flickering TextDraws, as TextDraws are buggy if there are spaces at the very end (which is potentially the case).

Also I noticed that the variable name in the callback is "HUDSideBar" but during creation it's "MMORPGHUDSideBar".
Did you change them for the topic or is it like that in the script? Just making sure.
Reply


Messages In This Thread
OnPlayerClickTextDraw Array Issues - by [TC]XxJuggaloxX - 19.02.2018, 21:22
Re: OnPlayerClickTextDraw Array Issues - by Pottus - 19.02.2018, 21:32
Re: OnPlayerClickTextDraw Array Issues - by NaS - 19.02.2018, 22:02
Re: OnPlayerClickTextDraw Array Issues - by Pottus - 19.02.2018, 22:07
Re: OnPlayerClickTextDraw Array Issues - by NaS - 19.02.2018, 22:14
Re: OnPlayerClickTextDraw Array Issues - by [TC]XxJuggaloxX - 20.02.2018, 02:05
Re: OnPlayerClickTextDraw Array Issues - by NaS - 20.02.2018, 02:22
Re: OnPlayerClickTextDraw Array Issues - by [TC]XxJuggaloxX - 20.02.2018, 08:43
Re: OnPlayerClickTextDraw Array Issues - by jasperschellekens - 20.02.2018, 09:00

Forum Jump:


Users browsing this thread: 2 Guest(s)