function getmonstercount?
Hello I am creating a minitutorial for the new user,
but it is not working because the monsters have the map I look at the example here:
Code:
getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "Defeat all Monsters in map!"));
//Condition :s
if (getMonsterCount(getMapId()) == 0){
c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "Gratz !"));
}
}else{
c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "You Need Defeat All Monsters in the map"));
}
my question is, because the counter is made, such as the map is 10000
how to use this function ? help me
Re: function getmonstercount?
We don't know without seeing the function...................
Re: function getmonstercount?
oh i fixed :D
close thread plz