N3uTr0n Posted January 6, 2012 Posted January 6, 2012 still got error + PlaySound _snd = new PlaySound(1, "enemydown", 0, 0, 0, 0, 0); + + Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers() {{{.values(); }} <---- HERE ------ + for (L2PcInstance onlinePlayer : pls) + if (onlinePlayer.isOnline() == 1) + { + if (onlinePlayer.getClan() != null) + { + if (onlinePlayer.getClan() == pk.getClan() && onlinePlayer != pk) + { + onlinePlayer.sendPacket(_snd); + } + } + } + Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.