Hello guys, I found this function in AnimateEntityPacket but I don't actually know how to use these parameters, Is there any example for how to use this? (i want to create an animation when player do some actions and stop when that action finished) PHP: public static function create(string $animation, string $nextState, string $stopExpression, int $stopExpressionVersion, string $controller, float $blendOutTime, array $actorRuntimeIds) : self{ $result = new self; $result->animation = $animation; $result->nextState = $nextState; $result->stopExpression = $stopExpression; $result->stopExpressionVersion = $stopExpressionVersion; $result->controller = $controller; $result->blendOutTime = $blendOutTime; $result->actorRuntimeIds = $actorRuntimeIds; return $result; }
idk but you should cover the code in a Codeblock / Code Quote? (idk the name) something like this PHP: print("Hello world");