PDA

View Full Version : textdraw


romka
27/09/2013, 04:35 PM
how i can do this textdraw:

http://www.upload.ee/image/3607977/Untitled.png


moving textdraw.


thanks.

Tosfera
27/09/2013, 04:37 PM
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 )

romka
27/09/2013, 07:22 PM
now i want help with settimer.

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

public Textdrawnaita(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw1);
SetTimer("Textdrawnaita2", 2500, true);
}

timer show only first textdraw Textdraw0

x96664
27/09/2013, 07:25 PM
This is a progressbar.

romka
27/09/2013, 07:52 PM
thanks man