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(playerid, 146.638015, 208.206161, "usebox");
PlayerTextDrawLetterSize(playerid, login_inscription[playerid], 0.000000, 2.691389);
PlayerTextDrawTextSize(playerid, login_inscription[playerid], 55.838146, 0.000000);
PlayerTextDrawAlignment(playerid, login_inscription[playerid], 1);
PlayerTextDrawColor(playerid, login_inscription[playerid], 0);
PlayerTextDrawUseBox(playerid, login_inscription[playerid], true);
PlayerTextDrawBoxColor(playerid, login_inscription[playerid], -5963521);
PlayerTextDrawSetShadow(playerid, login_inscription[playerid], 0);
PlayerTextDrawSetOutline(playerid, login_inscription[playerid], 0);
PlayerTextDrawFont(playerid, login_inscription[playerid], 0);
PlayerTextDrawSetSelectable(playerid, login_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