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

Just a quickie code:
You missed: Arrays, and the show in what you tried
Код:
new
		Float:v;

	for(new i; i<20; i++)
 	{
 	  if(v <= 360)
 	  {
			Text:Textdraw[i] = TextDrawCreate(5 * (509.0 + floatcos(v, degrees)), 5* (344.0 + floatsin(v, degrees)), "0");
			TextDrawBackgroundColor(Textdraw[i], 255);
			TextDrawFont(Textdraw[i], 1);
			TextDrawLetterSize(Textdraw[i], 0.500000, 1.000000);
			TextDrawColor(Textdraw[i], -1);
			TextDrawSetOutline(Textdraw[i], 0);
			TextDrawSetProportional(Textdraw[i], 1);
			TextDrawSetShadow(Textdraw[i], 1);
			v += (360.0 / (5 * 1.09));
		}
	}
	// Show them
	// Under a command or callback that must have playerid in it's params
	for(new i; i<10; i++)
	{
		TextDrawShowForPlayer(playerid, Textdraw[i]);
	}
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: 3 Guest(s)