04.08.2013, 15:14
You need the trigonometric functions, i.e. sine and cosine.
I'm not too good with trig stuff, but something along those lines ought to work.
pawn Код:
new
Float:radius = 4.0;
Float:angle;
while(angle < 360.0)
{
new Float:x = radius * floatsin(angle, degrees);
new Float:y = radius * floatcos(angle, degrees);
CreateDynamicObject(1598, x, y, 10.0, 0.0, 0.0, 0.0);
angle += 0.5;
}