- 0
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..
Question
Azumaril$
Re paidia exw 1 aporia...as paroume 1 poli mikro kai eukolo paradigma ->
public void CustomHeroSystem() { L2PcInstance activeChar = L2PcInstance.getClient().getActiveChar(); if (activeChar.getPvpKills() >= 5000) { activeChar.sendMessage("You are now a server hero for beign so great fighter!"); Announcements.getInstance().announceToAll(activeChar.getName() + "Is now a server's hero!"); activeChar.setHero(true); } }lipon...tora auto omos dimiourgoume tin method CustomHeroSystem. egw omos kserw pws oi methods den ektelounte an den tis energopoiisoume emeis grafontas stin periptosi mas:
sti sira pou 8eloume...ala ti..? pos ginete na litourgei afou mono dilonoume tin methodo ala den tin ekteloume? :S kapios na eksigisei:
Gia na katalavete ti ennow:
public class Main { public static void sum() { int value1=20; int value2=50; int sum=value1+value2; System.out.println("sum is" +sum); } public static void main(String args[]){ sum(); } }to public static void sum() den ekteleite mono tou an den grapsoume emeis sto telos sum();....
HELP!
3 answers to this question
Recommended Posts