[Help?] Create Circling textdraw in one loop. [Not Solved]
#1

Hi; I try to create a circle with one textdraw (0) like this:


This is almost a circle lol, it's made with paint i'll make this in pawn with textdraws.. But it fails

This is my textdraw:
Код:
Textdraw0 = TextDrawCreate(509.000000, 344.000000, "0");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
This is what I tried:

Код:
	new
		Float:v;

	while(v < 360.0)
 	{
		Textdraw0 = TextDrawCreate(5 * (509.0 + floatcos(v, degrees)), 5* (344.0 + floatsin(v, degrees)), "0");
		v += (360.0 / (5 * 1.09));
	}
	
	TextDrawBackgroundColor(Textdraw0, 255);
	TextDrawFont(Textdraw0, 1);
	TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
	TextDrawColor(Textdraw0, -1);
	TextDrawSetOutline(Textdraw0, 0);
	TextDrawSetProportional(Textdraw0, 1);
	TextDrawSetShadow(Textdraw0, 1);
But I still only see one textdraw.

Anyone can make a new one or correct the one I made?


Regards,
Reply


Messages In This Thread
[Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 17.02.2010, 15:45
Re: [Help?] Create Circling textdraw in one loop. - by aircombat - 17.02.2010, 17:13
Re: [Help?] Create Circling textdraw in one loop. - by Joe Staff - 17.02.2010, 17:20
Re: [Help?] Create Circling textdraw in one loop. - by RyDeR` - 17.02.2010, 20:41
Re: [Help?] Create Circling textdraw in one loop. [Not Solved - Go In!!!] - by RyDeR` - 18.02.2010, 08:26
Re: [Help?] Create Circling textdraw in one loop. [Not Solved - Go In!!!] - by RyDeR` - 19.02.2010, 08:37
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 20.02.2010, 08:00
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by iron_war_lord - 20.02.2010, 08:23
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 20.02.2010, 10:32
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by iron_war_lord - 20.02.2010, 10:44
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 20.02.2010, 11:12
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 21.02.2010, 08:42
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 22.02.2010, 18:49
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by Razvann - 22.02.2010, 19:46
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 22.02.2010, 20:57
Re: [Help?] Create Circling textdraw in one loop. [Not Solved] - by RyDeR` - 23.02.2010, 10:32

Forum Jump:


Users browsing this thread: 2 Guest(s)