Jump to content

Question

Posted

kalispera , exw kanei 1 gm command pou otan to patane kathonte oloi oi players, omos egw thelw na kathonte oi paktes pou ine se range kserw gw 600 gia paradigma mporei kapios na mou pei ta methods ta to range plz?

1 answer to this question

Recommended Posts

  • 0
Posted

file zeus@ sto  //kill 999 px pou les to java code einai etsi

 

						int radius = Integer.parseInt(st.nextToken());
						for (L2Character knownChar : plyr.getKnownList().getKnownCharactersInRadius(radius))
						{
							if (knownChar instanceof L2ControllableMobInstance || knownChar == activeChar)
								continue;

							kill(activeChar, knownChar);
						}

						activeChar.sendMessage("Killed all characters within a " + radius + " unit radius.");
						return true;
					}
					catch (NumberFormatException e)
					{
						activeChar.sendMessage("Invalid radius.");
						return false;
					}

 

twra mporeis na pareis paradigma apo ayto kai na  etharmoseis sto //sit

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..