Help Me about TextDraw
#2

Quote:
Originally Posted by RichKiez
Посмотреть сообщение
I'm having trouble sorting the TextDraw.
I added TextDraw to my script as "new PlayerText: DrawLicense [9] [MAX_PLAYERS]
And I put in the "public OnPlayerConnect":

But when it came to the game it only appeared from DrawLicense [1] to DrawLicense [8], it did not show DrawLicense [0], I encountered this bug and got bug, I need helpers to fix this problem. , thank you.
My English is Bad
Код:
new PlayerText: DrawLicense[MAX_PLAYERS][9];

public OnPlayerConnect(playerid)
{
  create you texdraw here:
  DrawLicense[playerid][0] = CreatePlayerTextDraw(playerid,...
  DrawLicense[playerid][1] = CreatePlayerTextDraw(playerid,...
  etc..

   for(new i = 0; i < 9; i++)
   {
    PlayerTextDrawShow(playerid, DrawLicense[playerid][i]);
    }
    return true;
}
Reply


Messages In This Thread
Help Me about TextDraw - by RichKiez - 05.04.2018, 08:35
Re: Help Me about TextDraw - by ForCop - 05.04.2018, 08:43
Re: Help Me about TextDraw - by RichKiez - 05.04.2018, 10:47
Re: Help Me about TextDraw - by MarianImmortalGod - 05.04.2018, 10:49
Re: Help Me about TextDraw - by RichKiez - 05.04.2018, 11:11
Re: Help Me about TextDraw - by MarianImmortalGod - 05.04.2018, 11:16
Re: Help Me about TextDraw - by ForCop - 05.04.2018, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)