TextDraw Won't Show
#6

Quote:
Originally Posted by Beaver07
Quote:
Originally Posted by [ECR
SancheZ ]
Hi GuyZ,

I got a problem, i made a textdraw like this but it isnt there...:

New:

pawn Код:
new Text:ecrls;

OnPlayerConnect:

pawn Код:
TextDrawShowForPlayer(playerid, ecrls);

OnGameModeInit:

pawn Код:
ecrls = TextDrawCreate(4, 457, "EC-RLS");
TextDrawAlignment(ecrls, 1);
TextDrawFont(ecrls, 3);
TextDrawLetterSize(ecrls, 0.3, 0.3);
TextDrawColor(ecrls, 0xFFFF00FF);
Can someone help me please?

Greetings,
[ECR]SancheZ
try this


pawn Код:
new Text:ecrls[MAX_PLAYERS];
OnPlayerConnect:

pawn Код:
TextDrawShowForPlayer(playerid, ecrls[playerid]);
OnGameModeInit:

pawn Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
ecrls[i] = TextDrawCreate(4, 457, "EC-RLS");
TextDrawAlignment(ecrls[i], 1);
TextDrawFont(ecrls[i], 3);
TextDrawLetterSize(ecrls[i], 0.3, 0.3);
TextDrawColor(ecrls[i], 0xFFFF00FF);
}
this will just make the textdraw to each player rather than global

hope this helps
There's no point of doing that unless he wants to use TextDrawSetString and make different messages for every people which is not the case. I have a good feeling that [ECR]SancheZ's coordinates are not near the screen coordinates.
Reply


Messages In This Thread
TextDraw Won't Show - by juuleman - 05.04.2010, 17:31
Re: TextDraw Won't Show - by Peep - 05.04.2010, 17:43
Re: TextDraw Won't Show - by juuleman - 05.04.2010, 17:46
Re: TextDraw Won't Show - by ~JDS - 05.04.2010, 20:58
Re: TextDraw Won't Show - by Beaver07 - 05.04.2010, 22:41
Re: TextDraw Won't Show - by Carlton - 05.04.2010, 22:47
Re: TextDraw Won't Show - by Beaver07 - 05.04.2010, 22:49
Re: TextDraw Won't Show - by juuleman - 06.04.2010, 07:54
Re: TextDraw Won't Show - by Andy_McKinley - 06.04.2010, 08:13
Re: TextDraw Won't Show - by juuleman - 06.04.2010, 08:24

Forum Jump:


Users browsing this thread: 2 Guest(s)