Skip to content

[request] Java question help me please

Featured Replies

how i can put a X level of earthquake when this occurs:

        case 5:

        Announcements.getInstance().announceToAll("" + this.getName()+ "  ULTRAKILL!! [5]");

        sendMessage("Oo 5,aprovecha que aun estas a salvo");

        break;

and other level of earthquake for other, for example this:

        case 10:

        Announcements.getInstance().announceToAll("" + this.getName()+ " MOoOo0o0oONSTER KILL!! [10]");

        sendMessage("10,Ya llevas 10?? parece que esto solo es el principio.");

        break;

 

 

I search a code for assign the level of earthquake for PvP kills in java.

Mabey learn java ,how to compile?

its added in new rules now... And i guess you don't know a shit from eclipse or so.

Thats why.. locked.

There are a shit of guides ,dudes!

dark5 although Leeroy is right, here is what you need:

sendPacket(new Earthquake(getX(), getY(), getZ(), 5, 10));

(X,Y,Z, intensity, duration).

Please follow the rules next time.

 

Thread Closed.

 

Reason:

Answer has been Provided;

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.