07.06.2014, 11:08
@AirKite: What do you mean by MultiThread Query? You can use all java code that you could usually use in a normal java application.
If you want to make a Thread you should do:
Or if you want to make a new Shoebill Thread you should do:
If you want to make a Thread you should do:
Код:
new Thread(() -> System.out.println("This messages comes from a other Thread !")).start();
Код:
Shoebill.get().runOnSampThread(() -> { for(Player player1 : Player.getHumans()) { player1.sendMessage(Color.GREEN, "You got this message from a other thread!"); } });