How create this particle? Is not spiral,is one circle inclined at 45 degrees ... How create @PEMapModder ,you know.. And how add one particle blue ,one mauve , one blue,one mauve..

PeMapModder Is Leave And How Can Color Particle use PHP: new DustParticle(new Vector3($x,$y, $z),$r,$g,$b);

Use a task and the parametric equation of a circle, then add a little amount to y every time. If you don't know what a parametric equation is, then please learn it and don't ask here.

Ehm, what? Do you really want me to explain a part of math here? You have to learn that by your own, this is not a maths forum. Please search information about what I told you before answering. This is the parametric equation of a circle PHP: x = cos(t)z = sin(t) If you know about parametric equations, you will know what t is.

$center = new Vector3(1, 1, 1); $radius = 0.5; $count = 100; $particle = new WhateverParticle($center); for($i = 0; $i < $count; $i++){ $pitch = (mt_rand() / mt_getrandmax() - 0.5) * M_PI; $yaw = mt_rand() / mt_getrandmax() * 2 * M_PI; $y = -sin($pitch); $delta = cos($pitch); $x = -sin($yaw) * $delta; $z = cos($yaw) * $delta; $v = new Vector3($x, $y, $z); $p = $center->add($v->normalize()->multiply($radius)); $particle->setComponents($p->x, $p->y, $p->z); $level->addParticle($particle); } It's all code,but not work. Get error syntax on line with mt_rand : ' '

Do not just copy code. If you really do not know what the error is, then either learn PHP, or if you (in your opinion) did that alreay, realise that plugin development isn't a gold fit for you. Also, there are two mt_rands(), and please post the full error when asking for help.

You know, I do not want to argue a shit plugin. I want to be friends , but if I ask you more about the code? I'm sure if you ask the PeMapModder help me . He always help everyone , everyone loved him because of that . Now remained immature nonsense greedy and envious of other software that are better than pm , which does not help anyone. And yes , you are one of those and so does Primus

PHP: $player = $event->getPlayer();$level = $player->getLevel();$x = X;$y = Y;$z = Z;$center = new Vector3($x, $y, $z);$radius = 0.5;$count = 100;$particle = new DustParticle($center, mt_rand(), mt_rand(), mt_rand(), mt_rand());for($yaw = 0, $y = $center->y; $y < $center->y + 4; $yaw += (M_PI * 2) / 20, $y += 1 / 20){$x = -sin($yaw) + $center->x;$z = cos($yaw) + $center->z;$particle->setComponents($x, $y, $z);$level->addParticle($particle);

Look up Managon's Tornado source plugin. https://github.com/Managon-pop/Circle/blob/master/src/Managon/circle.php