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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...