Jump to content

Recommended Posts

Posted

Hey guys , long time since i shared.

 

Event starts every x time , when the event start you get a bow and one arrow (all your arrows will be removed and will be back when event ends), respawn will in the event arena. When you kill someone you get one arrow , when you respawn you get one arrow , events ends in x time ,who gets the most kills is the winner.

 

All things are configurable through the variables in the code.

 

Code : http://pastebin.com/ZeP01sQJ

 

Don't forget to add on gameserver.java :

 

OneInTheChamber.getInstance();

 

Coded by me

 

Guest Elfocrash
Posted

You should intialize variable such L2PcInstance to null.

L2PcInstance pls; sounds not wrong but less correct.

Posted

getInstance() ??

 

it should belong to the class not the the object, since it uses L2PcInstance not an object of the class

Posted

I know, I know.. :troll:

 


 

Anyway, good share tho :D

 

noobs can't create a class by themselfs even with eclipse =D

Guest
This topic is now closed to further replies.


×
×
  • Create New...