Tag mismatch
#1

PHP код:
    TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid513.2001340.346675"~p~ZoneX Version 5");
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD[playerid][0], 0.4000001.600000);
    
PlayerTextDrawTextSize(playeridTDEditor_PTD[playerid][0], 842.0000000.000000);
    
PlayerTextDrawAlignment(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawColor(playeridTDEditor_PTD[playerid][0], -2147450625);
    
PlayerTextDrawUseBox(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawBoxColor(playeridTDEditor_PTD[playerid][0], 50331766);
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid][0], 0);
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD[playerid][0], 0);
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD[playerid][0], 255);
    
PlayerTextDrawFont(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD[playerid][0], 1);
    
PlayerTextDrawSetShadow(playeridTDEditor_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(playerid513.2001340.346675"~p~ZoneX Version 5"); 
    
PlayerTextDrawLetterSize(playeridTDEditor_PTD[playerid], 0.4000001.600000); 
    
PlayerTextDrawTextSize(playeridTDEditor_PTD[playerid], 842.0000000.000000); 
    
PlayerTextDrawAlignment(playeridTDEditor_PTD[playerid], 1); 
    
PlayerTextDrawColor(playeridTDEditor_PTD[playerid], -2147450625); 
    
PlayerTextDrawUseBox(playeridTDEditor_PTD[playerid], 1); 
    
PlayerTextDrawBoxColor(playeridTDEditor_PTD[playerid], 50331766); 
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid], 0); 
    
PlayerTextDrawSetOutline(playeridTDEditor_PTD[playerid], 0); 
    
PlayerTextDrawBackgroundColor(playeridTDEditor_PTD[playerid], 255); 
    
PlayerTextDrawFont(playeridTDEditor_PTD[playerid], 1); 
    
PlayerTextDrawSetProportional(playeridTDEditor_PTD[playerid], 1); 
    
PlayerTextDrawSetShadow(playeridTDEditor_PTD[playerid], 0); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)