SA-MP Forums Archive
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: textdraw (/showthread.php?tid=466387)



textdraw - romka - 27.09.2013

how i can do this textdraw:




moving textdraw.


thanks.


Re: textdraw - Tosfera - 27.09.2013

Its not a textdraw, the name already says its only for text. Search the other draw functions ( new to samp, else I would've give it to you )

edit1; you could try to create it yourself. Create a empty rectangle with has a black color, then use a timer or a clientrender to update your second created rectangle a bit further ( increase the width of it )


Re: textdraw - romka - 27.09.2013

now i want help with settimer.

PHP Code:
dcmd_text(playerid,params[])
{
    
#pragma unused params
    
TextDrawShowForPlayer(playerid,Textdraw0);
    
SetTimer("Textdrawnaita"2500true);
    return 
1;

PHP Code:
public Textdrawnaita(playerid)
{
    
TextDrawShowForPlayer(playerid,Textdraw1);
    
SetTimer("Textdrawnaita2"2500true);

timer show only first textdraw Textdraw0


Re: textdraw - x96664 - 27.09.2013

This is a progressbar.


Re: textdraw - romka - 27.09.2013

thanks man