Jump to content
  • 0

[request] Java question help me please


Question

Posted

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.

2 answers to this question

Recommended Posts

  • 0
Posted

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!

  • 0
Posted

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.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock