SA-MP Forums Archive
TextDraw Clicavem + rep - 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: TextDraw Clicavem + rep (/showthread.php?tid=586072)



TextDraw Clicavem + rep - iTakelot - 19.08.2015

Galera I put everything right but TextDraw no is clickable ... helpe

PHP код:
LoginDraw14[playerid] = CreatePlayerTextDraw(playerid,355.000000,205.000000,"logar");
PlayerTextDrawSetSelectable(playeridPlayerText:LoginDraw14[playerid], true);
PlayerTextDrawUseBox(playeridLoginDraw14[playerid],1);
PlayerTextDrawTextSize(playeridLoginDraw14[playerid],482.000000,0.000000);
PlayerTextDrawFont(playeridLoginDraw14[playerid],2);
PlayerTextDrawLetterSize(playeridLoginDraw14[playerid],0.899999,3.799999);
PlayerTextDrawSetSelectable(playeridPlayerText:LoginDraw14[playerid], true); 



Re: TextDraw Clicavem + rep - [KHK]Khalid - 19.08.2015

https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize. You have the Y axis value set to 0, maybe try changing this...

Quote:

This function defines the clickable area for use with PlayerTextDrawSetSelectable, whether a box is shown or not.