03.06.2016, 20:56
Aqui nгo apresentou erros:
PHP код:
new PlayerText:TDEditor_PTD[MAX_PLAYERS][2];
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);
return true;
}