Tag mismatch
#1

PHP код:
    TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 513.200134, 0.346675, "~p~ZoneX Version 5");
    
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.400000, 1.600000);
    
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 842.000000, 0.000000);
    
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -2147450625);
    
PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][0], 50331766);
    
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
    
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
    
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
    
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0); 
Every line gives me tag mismatch
Reply
#2

If it's only 1 line:

PHP код:
new PlayerText:TDEditor_PTD[playerid]; // <- you don't need anything after [playerid] 
So your code should look like this:

PHP код:
    TDEditor_PTD[playerid] = CreatePlayerTextDraw(playerid, 513.200134, 0.346675, "~p~ZoneX Version 5"); 
    
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid], 0.400000, 1.600000); 
    
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid], 842.000000, 0.000000); 
    
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid], 1); 
    
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid], -2147450625); 
    
PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid], 1); 
    
PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid], 50331766); 
    
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid], 0); 
    
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid], 0); 
    
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid], 255); 
    
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid], 1); 
    
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid], 1); 
    
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid], 0); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)