[Help] TextDraw Don't Show - 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] TextDraw Don't Show (
/showthread.php?tid=557840)
[Help] TextDraw Don't Show -
Arxalan - 15.01.2015
Hello , i have a textdraw in my script but it is on the Player Stars (Wanted Stars) position . So i want to be a little down from the stars . But when i try to put it a little down then it don't display in the Game . Following is the code.
PHP код:
Textdraw0 = CreatePlayerTextDraw(playerid,501.000000, 100.000000, "Testing Textdraw");
PlayerTextDrawBackgroundColor(playerid,Textdraw0, -1);
PlayerTextDrawFont(playerid,Textdraw0, 1);
PlayerTextDrawLetterSize(playerid,Textdraw0, 0.320000, 0.799999);
PlayerTextDrawColor(playerid,Textdraw0, 65535);
PlayerTextDrawSetOutline(playerid,Textdraw0, 1);
PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
PlayerTextDrawUseBox(playerid,Textdraw0, 1);
PlayerTextDrawBoxColor(playerid,Textdraw0, 0x00000044);
PlayerTextDrawTextSize(playerid,Textdraw0, 606.000000, 0.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
Re: [Help] TextDraw Don't Show -
CalvinC - 15.01.2015
You have TextDrawShowForPlayer correctly set up?
Re: [Help] TextDraw Don't Show -
Arxalan - 15.01.2015
Yes it is . Now this code is working but when i change the Coordinates then it stop displaying.It is on the Wanted stars position . i want it to be a little down from them.
Re: [Help] TextDraw Don't Show -
ATGOggy - 15.01.2015
Post the new code that is not working.
Re: [Help] TextDraw Don't Show -
xVIP3Rx - 15.01.2015
Textdraws are complicated and hard to edit manually with coords, I suggest using a Textdraw (I suggest
this)editor and just extract/import the codes at the position you like.