20.02.2010, 08:23
Just a quickie code:
You missed: Arrays, and the show in what you tried
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]); }