SA-MP Forums Archive
[HELP] Texdraw isn't selectable - 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: [HELP] Texdraw isn't selectable (/showthread.php?tid=625505)



[HELP] Texdraw isn't selectable - Eoussama - 02.01.2017

Hello, so I wanted to create a selectable textdraw based text, but it doesn't work, when I hover the cursor over the text, it doesn't get selected

PHP код:
TDConnect[playerid][6] = CreatePlayerTextDraw(playerid, 183.000000, 223.352996, "YourPassword");
    
PlayerTextDrawLetterSize(playerid, TDConnect[playerid][6], 0.400000, 1.600000);
    
PlayerTextDrawTextSize(playerid, TDConnect[playerid][6], 384.000000, 0.000000);
    
PlayerTextDrawAlignment(playerid, TDConnect[playerid][6], 1);
    
PlayerTextDrawColor(playerid, TDConnect[playerid][6], -1);
    
PlayerTextDrawUseBox(playerid, TDConnect[playerid][6], 1);
    
PlayerTextDrawBoxColor(playerid, TDConnect[playerid][6], -1500538369);
    
PlayerTextDrawSetShadow(playerid, TDConnect[playerid][6], 0);
    
PlayerTextDrawSetOutline(playerid, TDConnect[playerid][6], 0);
    
PlayerTextDrawBackgroundColor(playerid, TDConnect[playerid][6], 255);
    
PlayerTextDrawFont(playerid, TDConnect[playerid][6], 1);
    
PlayerTextDrawSetProportional(playerid, TDConnect[playerid][6], 1);
    
PlayerTextDrawSetShadow(playerid, TDConnect[playerid][6], 0);
    
PlayerTextDrawSetSelectable(playerid, TDConnect[playerid][6], true);
   
        
PlayerTextDrawShow(playerid, TDConnect[playerid][6]);
        
SelectTextDraw(playerid, 0xFF0000);