SA-MP Forums Archive
how to move this ? - 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: how to move this ? (/showthread.php?tid=614932)



how to move this ? - OsvaldoS - 15.08.2016

Screenshot http://imgur.com/a/NvLqH

PHP код:
public OnGameModeInit()
{
    
SetTimer("Relax"90001);
    print(
"Creating Textdraw.");
    
    
Garisa TextDrawCreate(167.000000433.000000".");
    
TextDrawBackgroundColor(Garisa255);
    
TextDrawFont(Garisa1);
    
TextDrawLetterSize(Garisa29.1100801.100000);
    
TextDrawColor(Garisa632880895);
    
TextDrawSetOutline(Garisa0);
    
TextDrawSetProportional(Garisa1);
    
TextDrawSetShadow(Garisa1);
    
    
BSText[1] = TextDrawCreate(552.000000409.000000"CONDITION");
    
TextDrawBackgroundColor(BSText[1], 255);
    
TextDrawFont(BSText[1], 1);
    
TextDrawLetterSize(BSText[1], 0.4100000.899999);
    
TextDrawColor(BSText[1], -1);
    
TextDrawSetOutline(BSText[1], 0);
    
TextDrawSetProportional(BSText[1], 1);
    
TextDrawSetShadow(BSText[1], 1);
    
    
Garis TextDrawCreate(167.000000433.000000".");
    
TextDrawBackgroundColor(Garis255);
    
TextDrawFont(Garis1);
    
TextDrawLetterSize(Garis29.1100801.100000);
    
TextDrawColor(Garis632880895);
    
TextDrawSetOutline(Garis0);
    
TextDrawSetProportional(Garis1);
    
TextDrawSetShadow(Garis1); 



Re: how to move this ? - WhiteGhost - 15.08.2016

The Screenshot shows nothing.

What are you trying to do hide the text with a timer?


Re: how to move this ? - OsvaldoS - 15.08.2016

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
The Screenshot shows nothing.

What are you trying to do hide the text with a timer?
screenshot http://i64.tinypic.com/j94hm0.jpg


Re: how to move this ? - WhiteGhost - 15.08.2016

Change the Position of the textdraw.
Код:
BSText[1] = TextDrawCreate(552.000000, 409.000000, "CONDITION");
Or...

Use a Editor Make A New Text At That Position,Copy And Code.