Command for making ALL players do the same animgfx?
So I have the command for Animgfx added, but I want to make a similar one which instead makes every online player do the entered animgfx. Any tips on how I would go about creating that command?
EDIT - Source is 718
case "animgfx":
int animId = Integer.parseInt(cmd[1]);
int gfxId = Integer.parseInt(cmd[2]);
int height = cmd.length > 3 ? Integer.parseInt(cmd[3]) : 0;
player.setNextAnimation(new Animation(animId));
player.setNextGraphics(new Graphics(gfxId, 0, height));
return true;