Ok. It could be a cause for that if I am using the textdraws as an array?
1For example, i am using 2 textdraws for logo, 2 textdraws for clock and date. So, I can make them global because is showed for all the players anyway, no?
. I will use an array just if I want to show for some players.
2. Why the textdraws is now displayed for anyone if I put them in ONPLAYERCONNECT from ONGAMEMODEINIT?
3. I tried to change it:
Код HTML:
Clock1[f] = TextDrawCreate(498.000000,10.000000,"8.05.2015");
TextDrawAlignment(Clock1[f],0);
TextDrawBackgroundColor(Clock1[f],BLACK);
TextDrawFont(Clock1[f],3);
TextDrawLetterSize(Clock1[f],0.43,1.0);
TextDrawColor(Clock1[f], -1);
TextDrawSetOutline(Clock1[f],1);
TextDrawSetProportional(Clock1[f],1);
TextDrawSetShadow(Clock1[f],1);
to:
Код HTML:
Clock1[f] = CreatePlayerTextDraw(f, 498.000000,10.000000,"8.05.2015");
PlayerTextDrawAlignment(f, Clock1[f],0);
PlayerTextDrawBackgroundColor(f, Clock1[f],BLACK);
PlayerTextDrawFont(f, Clock1[f],3);
PlayerTextDrawLetterSize(f, Clock1[f],0.43,1.0);
PlayerTextDrawColor(f, Clock1[f], -1);
PlayerTextDrawSetOutline(f, Clock1[f],1);
PlayerTextDrawSetProportional(f, Clock1[f],1);
PlayerTextDrawSetShadow(f, Clock1[f],1);
but it is displayed in the wrong positions now...