Skript Version : Skript 2.5 (alpha1)
Minecraft Version: 1.15.2
It says "There's no player in a function event" and doesn't work.
Can you help me to solve this problem?
I also tried "execute command "/asdf" by console, and it worked. but the console messages are so disturbing to play that I want the OP to run.
Minecraft Version: 1.15.2
Code:
function runParticleRGB(l:location,r:number,g:number,b:number):
loop "r", "g" and "b":
{_%loop-value%} is not between 0.01 and 1
send "[Ai_CommandFx] runParticleRGB() = {_%loop-value%} is Invalid parameter" to console
set {_s} to true
{_s} is not set
set {_l::*} to x-coord of {_l}, y-coord of {_l} and z-coord of {_l}
execute command "/particle dust %{_r}% %{_g}% %{_b}% 4 %{_l::1}% %{_l::2}% %{_l::3}% 1 0 0 1 1 force @a" by op
Can you help me to solve this problem?
I also tried "execute command "/asdf" by console, and it worked. but the console messages are so disturbing to play that I want the OP to run.