SA-MP Forums Archive
Prblem with textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Prblem with textdraw (/showthread.php?tid=584408)



Prblem with textdraw - Jabern - 04.08.2015

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


Re: Prblem with textdraw - dusk - 04.08.2015

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.


Re: Prblem with textdraw - Jabern - 04.08.2015

ahhhh ^^' , and I replace it with what?


Re: Prblem with textdraw - Jabern - 04.08.2015

Fixed