SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/03/2019, 03:56 PM   #1
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Thumbs up TextDraws disappear [HELP!!]

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?
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!

Last edited by Heress; 25/03/2019 at 06:59 PM.
Heress is offline   Reply With Quote
Old 23/03/2019, 04:50 PM   #2
SiaReyes
Gangsta
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 622
Reputation: 57
Default Re: TextDraws disappear

Can you provide us the command that shows those textraws and also the Clickable textdraw code which hides those textdraws.
SiaReyes is offline   Reply With Quote
Old 23/03/2019, 05:15 PM   #3
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: TextDraws disappear

sure:

This is how textdraws is hidding:


Removed code
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!

Last edited by Heress; 26/03/2019 at 04:55 PM.
Heress is offline   Reply With Quote
Old 23/03/2019, 11:10 PM   #4
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: TextDraws disappear

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.
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Old 23/03/2019, 11:40 PM   #5
justinnater
Huge Clucker
 
justinnater's Avatar
 
Join Date: Jan 2011
Posts: 248
Reputation: 85
Default Re: TextDraws disappear

Show the complete command and the part where you create the textdraws.
justinnater is offline   Reply With Quote
Old 24/03/2019, 11:35 AM   #6
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: TextDraws disappear

Quote:
Originally Posted by justinnater View Post
Show the complete command and the part where you create the textdraws.
Removed code
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!

Last edited by Heress; 26/03/2019 at 04:56 PM.
Heress is offline   Reply With Quote
Old 24/03/2019, 03:14 PM   #7
RedFusion
Gangsta
 
RedFusion's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 920
Reputation: 330
Default Re: TextDraws disappear

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.
__________________
Also known as fusez
RedFusion is offline   Reply With Quote
Old 24/03/2019, 06:17 PM   #8
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: TextDraws disappear

Quote:
Originally Posted by RedFusion View Post
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
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!

Last edited by Heress; 26/03/2019 at 04:56 PM.
Heress is offline   Reply With Quote
Old 24/03/2019, 09:43 PM   #9
RedFusion
Gangsta
 
RedFusion's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 920
Reputation: 330
Default Re: TextDraws disappear

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?
__________________
Also known as fusez
RedFusion is offline   Reply With Quote
Old 24/03/2019, 11:58 PM   #10
Heress
Huge Clucker
 
Heress's Avatar
 
Join Date: Mar 2018
Location: Lithuania
Posts: 262
Reputation: 7
Default Re: TextDraws disappear

Quote:
Originally Posted by RedFusion View Post
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
__________________
==============
Sorry for my bad English









Respect: Kalcor, ******. Thank you for this great game!
Heress is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textdraws disappear Addons Scripting Help 11 03/04/2016 05:30 PM
TextDraws disappear Jihanz Scripting Help 5 04/01/2015 10:26 PM
disappear textdraws eriklebedev Server Support 1 21/08/2014 02:11 PM
Textdraws disappear Arrows73 Server Support 1 04/11/2010 11:47 PM
Anti Car Disappear - it may NEVER disappear! Jochemd Help Archive 4 31/08/2010 08:21 AM


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.