TextDraws disappear [HELP!!] -
Heress - 23.03.2019
Hello,
I creating about 40 global and 20 player textdraw at once on player screen. Then I use cmd, all textdraw which need is showing. Then I hide them all by clicking one of my clickable textdraw. Then I use cmd for the second time and textdraws show for 1 second, then quickly disappears from the screen. How to solve it?
Re: TextDraws disappear -
SiaReyes - 23.03.2019
Can you provide us the command that shows those textraws and also the Clickable textdraw code which hides those textdraws.
Re: TextDraws disappear -
Heress - 23.03.2019
sure:
This is how textdraws is hidding:
Removed code
Re: TextDraws disappear -
Heress - 23.03.2019
is this kind of sa:mp bug? because i don't think that there is some mistakes. Just show and hide, nothing more, who can make bugs.
Re: TextDraws disappear -
justinnater - 23.03.2019
Show the complete command and the part where you create the textdraws.
Re: TextDraws disappear -
Heress - 24.03.2019
Quote:
Originally Posted by justinnater
Show the complete command and the part where you create the textdraws.
|
Removed code
Re: TextDraws disappear -
RedFusion - 24.03.2019
You still didn't share the command which you're using for showing the textdraws. We need to see that in order to spot the problem.
Re: TextDraws disappear -
Heress - 24.03.2019
Quote:
Originally Posted by RedFusion
You still didn't share the command which you're using for showing the textdraws. We need to see that in order to spot the problem.
|
public OnInfoLoad(playerid) textdraws is showing there. This callback is showing with command and if you really nedd that command, here:
Removed code
Re: TextDraws disappear -
RedFusion - 24.03.2019
I saw your PM's but ******* links get censored, i need to see all of the code in order to fix your problem. Where exactly is OnInfoLoad(playerid) called? Also, are you sure the textdraws are created properly before they are shown for the player?
Re: TextDraws disappear -
Heress - 24.03.2019
Quote:
Originally Posted by RedFusion
I saw your PM's but ******* links get censored, i need to see all of the code in order to fix your problem. Where exactly is OnInfoLoad(playerid) called? Also, are you sure the textdraws are created properly before they are shown for the player?
|
I sent you PM code with 1,5k lines, maybe now enough
p.s. i dont want to make link public, because there is too much code
Re: TextDraws disappear -
Heress - 25.03.2019
This is how look this bug:
Removed link
sorry for bad quality.
Maybe someone knows the reason why this happening? Theories? Maybe someone sometime had this bug? Please answer...
Re: TextDraws disappear -
Heress - 25.03.2019
Quote:
Originally Posted by Y_Less
If you refuse to show the code, we can't help.
|
There is too much code... but okay, this is a big part of all code (1.5k/3,3k)
Removed code What I'm doing wrong? What can be one of theories?
Re: TextDraws disappear -
Heress - 25.03.2019
Please... Y_Less, RedFusion, someone... I give code, which your request so can your help now? if some code still missing let me know.
Re: TextDraws disappear -
SymonClash - 25.03.2019
Debug it.
Re: TextDraws disappear -
Heress - 25.03.2019
Quote:
Originally Posted by SymonClash
Debug it.
|
How? If I use print, printf, what exactly i can print?
Re: TextDraws disappear -
Heress - 26.03.2019
Problem was found.