[DEV]DjSt3rios Posted September 23, 2010 Posted September 23, 2010 Hello. I would like to ask how i can put on eclipse a code like if(player.inTvT) { return; } u know, to do something if the player is in TvT Event.. i tried this if(isPlayerParticipant(getName()) { return; } and byte teamId = getParticipantTeamId(playerName); if (teamId == -1) return false; but i have errors(on console, not in compile). Any idea?
0 xAddytzu Posted September 23, 2010 Posted September 23, 2010 How do you think that we can know your tvt methods ?
0 [DEV]DjSt3rios Posted September 23, 2010 Author Posted September 23, 2010 hmm maybe... true lol, i am using L2J Server svn... :/ i think the most packs have the same..
0 xAddytzu Posted September 24, 2010 Posted September 24, 2010 TvTEvent.isPlayerParticipant(player.getObjectId()))
Question
[DEV]DjSt3rios
Hello. I would like to ask how i can put on eclipse a code like
if(player.inTvT)
{
return;
}
u know, to do something if the player is in TvT Event..
i tried this
if(isPlayerParticipant(getName())
{
return;
}
and
byte teamId = getParticipantTeamId(playerName);
if (teamId == -1)
return false;
but i have errors(on console, not in compile). Any idea?
4 answers to this question
Recommended Posts