SA-MP Forums Archive
[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.000000100.000000"Testing Textdraw");
    
PlayerTextDrawBackgroundColor(playerid,Textdraw0, -1);
    
PlayerTextDrawFont(playerid,Textdraw01);
    
PlayerTextDrawLetterSize(playerid,Textdraw00.3200000.799999);
    
PlayerTextDrawColor(playerid,Textdraw065535);
    
PlayerTextDrawSetOutline(playerid,Textdraw01);
    
PlayerTextDrawSetProportional(playerid,Textdraw01);
    
PlayerTextDrawUseBox(playerid,Textdraw01);
    
PlayerTextDrawBoxColor(playerid,Textdraw00x00000044);
    
PlayerTextDrawTextSize(playerid,Textdraw0606.0000000.000000);
    
PlayerTextDrawSetSelectable(playerid,Textdraw00); 



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.