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(playerid183.000000223.352996"YourPassword");
    
PlayerTextDrawLetterSize(playeridTDConnect[playerid][6], 0.4000001.600000);
    
PlayerTextDrawTextSize(playeridTDConnect[playerid][6], 384.0000000.000000);
    
PlayerTextDrawAlignment(playeridTDConnect[playerid][6], 1);
    
PlayerTextDrawColor(playeridTDConnect[playerid][6], -1);
    
PlayerTextDrawUseBox(playeridTDConnect[playerid][6], 1);
    
PlayerTextDrawBoxColor(playeridTDConnect[playerid][6], -1500538369);
    
PlayerTextDrawSetShadow(playeridTDConnect[playerid][6], 0);
    
PlayerTextDrawSetOutline(playeridTDConnect[playerid][6], 0);
    
PlayerTextDrawBackgroundColor(playeridTDConnect[playerid][6], 255);
    
PlayerTextDrawFont(playeridTDConnect[playerid][6], 1);
    
PlayerTextDrawSetProportional(playeridTDConnect[playerid][6], 1);
    
PlayerTextDrawSetShadow(playeridTDConnect[playerid][6], 0);
    
PlayerTextDrawSetSelectable(playeridTDConnect[playerid][6], true);
   
        
PlayerTextDrawShow(playeridTDConnect[playerid][6]);
        
SelectTextDraw(playerid0xFF0000);