I created a voiced command doing something,and I want to allow it work when the player has in his inv just 1 weapon... I tried this but * , it can't work.. May getCount() works only for etcitem and not for armors - weapons
Here...*
if(activeChar.getInventory().getItemByItemId(Weapon_ID).getCount() > 1)
{
activeChar.sendMessage("works only with 1 weapon");
return false;
}
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.
Hola, gente bella como estan? Acabo de terminar de compilar el proyecto L2jFrozen Rev: 1132 (viejisimo)
No tengo problemas con que sea muy viejo, ya que el proyecto es para mi y mis hijos. (Lan/Offline) no es para ponerlo en línea. Quiero aprender y darles a mis hijos más comodidades a la hora de jugar. y por mi parte, también experimentar con el juego.
Mi problema es que no se mucho del tema. Pude hacer algunas configuraciones Basicas a mi gusto y el de mis hijos, pero nunca compila ni nada de eso... Estaria necesitando ayuda por parte de ustedes, la comunidad... Quiero simplemente Quitar todas las restricciones de Subclases, Quitar restriccion de "Overlord, Warsmith y subclase de elfos oscuros con elfos blancos y alrevez" desde ya muchas gracias! saludos comunidad
Question
Spidey*
Hello everyone..
I created a voiced command doing something,and I want to allow it work when the player has in his inv just 1 weapon... I tried this but * , it can't work.. May getCount() works only for etcitem and not for armors - weapons
Here...*
Anybody could help?, thank you in advance
6 answers to this question
Recommended Posts
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.