PDA

View Full Version : Show, hide textdraw


Bussyman
18/04/2017, 08:06 AM
Hi,

I just met strange bug i have never meet before. I'am hiding textdraw and showing again, but i don't see them like.

TextDrawHideForPlayer(playerid, ... );
TextDrawShowForPlayer(playerid,... );

I'am using this in ondialogresponse, textdraw is hiding, but not showing again, when i use in onplayerstate working, it's totally shit, i don't understand how this can by.

Astralis
18/04/2017, 08:47 AM
Use Timers to show and hide.

Bussyman
18/04/2017, 09:07 AM
Why? i just need hide and show another, or it's impossible to do?

GangstaSunny.
18/04/2017, 09:50 AM
I also have never meet this problem before. But Astralis is right.
Use a timer (like 100ms for example) to show the textdraw again. This CAN be a solution.

Bussyman
18/04/2017, 10:46 AM
i tried even 1000ms not worked.

GangstaSunny.
18/04/2017, 11:19 AM
... well, show code

Bussyman
18/04/2017, 03:55 PM
I fixed.