heres your !proitem command take it or leave it. took me a day.
Page 1 of 1
heres your !proitem command take it or leave it. took me a day.
ok just go to your source then src>net>sf>odinMS>client>messages>commands then copy it and paste it into Gm commands. Have fun (dont forget to re-execute it in mysql)
Also, heres a dl link to a lil better player commands~ (i stole from someone else. Te~he
http://www.mediafire.com/?3xl84jkew1l5oco
http://www.mediafire.com/?3xl84jkew1l5oco
}
player.setJob(job);
//!proitem [itemidhere] [stats]
} else if (splitted[0].equalsIgnoreCase("!proitem")) {
if (splitted.length == 3) {
int itemid;
short multiply;
try {
itemid = Integer.parseInt(splitted[1]);
multiply = Short.parseShort(splitted[2]);
} catch (NumberFormatException asd) {
return;
}
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
IItem item = ii.getEquipById(itemid);
MapleInventoryType type = ii.getInventoryType(itemid);
if (type.equals(MapleInventoryType.EQUIP)) {
MapleInventoryManipulator.addFromDrop(c, ii.hardcoreItem((Equip) item, multiply));
} else {
mc.dropMessage("Make sure it's an equippable item, noob. ~kevin~");
Also, heres a dl link to a lil better player commands~ (i stole from someone else. Te~he
http://www.mediafire.com/?3xl84jkew1l5oco
http://www.mediafire.com/?3xl84jkew1l5oco
}
player.setJob(job);
//!proitem [itemidhere] [stats]
} else if (splitted[0].equalsIgnoreCase("!proitem")) {
if (splitted.length == 3) {
int itemid;
short multiply;
try {
itemid = Integer.parseInt(splitted[1]);
multiply = Short.parseShort(splitted[2]);
} catch (NumberFormatException asd) {
return;
}
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
IItem item = ii.getEquipById(itemid);
MapleInventoryType type = ii.getInventoryType(itemid);
if (type.equals(MapleInventoryType.EQUIP)) {
MapleInventoryManipulator.addFromDrop(c, ii.hardcoreItem((Equip) item, multiply));
} else {
mc.dropMessage("Make sure it's an equippable item, noob. ~kevin~");
poopey213- Posts : 11
Join date : 2011-01-18
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|