03.06.2016, 20:54
Perdгo. O user acima colocou:
E eu fui na onda.
Faзa assim:
Код:
new Text:TDEditor_PTD1[MAX_PLAYERS]; new Text:TDEditor_PTD2[MAX_PLAYERS];
Faзa assim:
Код:
//topo new PlayerText:TDEditor_PTD[MAX_PLAYERS][2]; //OnPlayerConnect public OnPlayerConnect(playerid) { TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 495.600036, 96.666702, "Ping:123"); PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.296799, 1.278932); PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1); PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1); PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 1); PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0); PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255); PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 2); PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1); PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 1); TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 561.788879, 96.666702, "FPS:123"); PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.296799, 1.278932); PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1); PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -1); PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 1); PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][1], 0); PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255); PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 2); PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 1); PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 1); PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][0]); PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][1]);