Prblem with textdraw
#1

Hi all , i have a problem with a selectable textdraw , i cant select him and the color dont change
this is my code :
PHP код:
    login_inscription[playerid] = CreatePlayerTextDraw(playerid146.638015208.206161"usebox"); 
    
PlayerTextDrawLetterSize(playeridlogin_inscription[playerid], 0.0000002.691389); 
    
PlayerTextDrawTextSize(playeridlogin_inscription[playerid], 55.8381460.000000); 
    
PlayerTextDrawAlignment(playeridlogin_inscription[playerid], 1); 
    
PlayerTextDrawColor(playeridlogin_inscription[playerid], 0); 
    
PlayerTextDrawUseBox(playeridlogin_inscription[playerid], true); 
    
PlayerTextDrawBoxColor(playeridlogin_inscription[playerid], -5963521); 
    
PlayerTextDrawSetShadow(playeridlogin_inscription[playerid], 0); 
    
PlayerTextDrawSetOutline(playeridlogin_inscription[playerid], 0); 
    
PlayerTextDrawFont(playeridlogin_inscription[playerid], 0); 
    
PlayerTextDrawSetSelectable(playeridlogin_inscription[playerid], true); 
Ps : Sorry for mi bad english
Reply
#2

pawn Код:
PlayerTextDrawTextSize(playerid, login_inscription[playerid], 55.838146, 0.000000);
PlayerTextDrawTextSize defines the area which can be selected. And because you set it height 0.0 it can NOT be selected.
Reply
#3

ahhhh ^^' , and I replace it with what?
Reply
#4

Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)