I was waiting for you to wrap all this stuff around xD The true is that he selling Lucera 2 IL on Classic client claiming this the best stuff but reality maybe pvp srv can this shit adopt and the maps was taken from devmem or how it calllz forgot this guy who makingmaps, use this all work without even geodata selling this crap and claim its the best pack, he sould ban from ucera cominity for crappy image but up to them ) Anyway this shit was selin for money and u can download for free )
the translation on google is something about discovering a mammoths dick or something
but generally he says that "dick" a lot maybe he likes them
but whats the story behind and what is the truth ..we will never know
Question
VonoxNL
public Collection<L2PcInstance> getAllgoodPlayers() { return _allgoodPlayers.values(); } public Collection<L2PcInstance> getAllevilPlayers() { return _allevilPlayers.values(); }How can I turn this into an IF statement that checks how many players are on each faction? This is what I have now:
if ((goods - evils) >= 2) { player.sendMessage("There are too many players fighting for Blue. Try joining Red."); }This means that if for example there are 10 people on Good and 5 people on Evil:
10 - 5 = 5, which is greater than 2, so force the player to join Evil instead.
Obviously this IF statement is not working because 'goods' and 'evils' aren't integers. Any idea how I can make this work?
Thanks in advance!
-VonoxNL
9 answers to this question
Recommended Posts