aksl8
June 20th, 2010, 18:17
hello this is how to add ::pnpcall # ::pnpc all online :) i stealed from my friend :) he tells me all ok heres the
if (cmd[0].equalsIgnoreCase("pnpcall")) {
for(Player pl : Engine.players) {
if (pl != null) {
pl.npcType = Integer.parseInt(cmd[1]);
pl.appearanceUpdateReq = true;
pl.updateReq = true;
}
}
}
if (cmd[0].equalsIgnoreCase("pnpcall")) {
for(Player pl : Engine.players) {
if (pl != null) {
pl.npcType = Integer.parseInt(cmd[1]);
pl.appearanceUpdateReq = true;
pl.updateReq = true;
}
}
}