[Ajuda] TDEditor, warning 213: tag mismatch, PlayerTextDraw
#7

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
Aqui nгo apresentou erros:

PHP код:
new PlayerText:TDEditor_PTD[MAX_PLAYERS][2];
public 
OnPlayerConnect(playerid){
    
TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid495.60003696.666702"Ping:123");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD[playerid][0], 0.2967991.278932);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawColor(playeridTDEditor_PTD[playerid][0], -1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD[playerid][0], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD[playerid][0], 255);
    
PlayerTextDrawFont(playeridTDEditor_PTD[playerid][0], 2);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid][0], 1);
    
TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid561.78887996.666702"FPS:123");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD[playerid][1], 0.2967991.278932);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD[playerid][1], 1);
    
PlayerTextDrawColor(playeridTDEditor_PTD[playerid][1], -1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid][1], 1);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD[playerid][1], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD[playerid][1], 255);
    
PlayerTextDrawFont(playeridTDEditor_PTD[playerid][1], 2);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD[playerid][1], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid][1], 1);
    return 
true;

Uma versгo anterior (nгo me recordo qual) declarava a variбvel do TD para o PLAYER desta maneira:
Код:
Text:Var...
Em vez de:
Код:
PlayerText:Var...
Mas sу quem usou pфde perceber o erro, porйm, jб foi corrigido em uma atualizaзгo recente.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)