05.04.2018, 08:43
Quote:
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; }