[HELP]Textdraw problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Textdraw problem (
/showthread.php?tid=631560)
[HELP]Textdraw problem -
Kraeror - 31.03.2017
Hello all! I have problem with textdraw! I made 10 textdraws. All of them appear, without the last 2. How can i fix this ? Any ideas?
Thanks!
+REP
Re: [HELP]Textdraw problem -
1fret - 31.03.2017
Show your coding
Re: [HELP]Textdraw problem -
Kraeror - 31.03.2017
Quote:
Originally Posted by 1fret
Show your coding
|
Why you need of my code? The problem is in the last 2 textdraws!
Re: [HELP]Textdraw problem -
DTV - 31.03.2017
Quote:
Originally Posted by Kraeror
Why you need of my code? The problem is in the last 2 textdraws!
|
Because in order to figure out your problem, we need to see how you coded it to come up with a solution. It's like saying to a mechanic "fix my car", but without giving them the car to work on.
Re: [HELP]Textdraw problem -
Kraeror - 01.04.2017
Here you are:
Quote:
for(new i = 0; i < MAX_PLAYERS; i++)
{
rob[i] = TextDrawCreate(250.000000, 400.000000, "");
TextDrawAlignment(rob[i],0);
TextDrawBackgroundColor(rob[i],0x000000ff);
TextDrawFont(rob[i],3);
TextDrawLetterSize(rob[i], 1.3,1.9);
TextDrawSetProportional(rob[i],1);
TextDrawSetShadow(rob[i],1);
robbank[i] = TextDrawCreate(250.000000, 400.000000, "");
TextDrawAlignment(robbank[i],0);
TextDrawBackgroundColor(robbank[i],0x000000ff);
TextDrawFont(robbank[i],3);
TextDrawLetterSize(robbank[i], 1.3,1.9);
TextDrawSetProportional(robbank[i],1);
TextDrawSetShadow(robbank[i],1);
}
|
Re: [HELP]Textdraw problem -
coool - 01.04.2017
There isn't anything to show so they will not show up
Re: [HELP]Textdraw problem -
Kraeror - 01.04.2017
Quote:
Originally Posted by coool
There isn't anything to show so they will not show up
|
What you need of ?
Re: [HELP]Textdraw problem -
coool - 01.04.2017
I mean the quotes are empty.
And the x, y pos of both is same.
Re: [HELP]Textdraw problem -
Kraeror - 01.04.2017
Quote:
Originally Posted by coool
I mean the quotes are empty.
And the x, y pos of both is same.
|
Yes, because i use TextDrawSetString in timer, but it's not because of this. I tried to put another textdraw, who worked in the end, but they does not show. I'm sure, the problem is in the limit, but the server is on 0.3.7 version and the limit there is 100 textdraws in a single client's screen! Do you have idea, how to fix this?
SRY FOR MY BAD ENGLISH!
Re: [HELP]Textdraw problem -
Kraeror - 01.04.2017
Any ideas?