BloodBoundMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

heres your !proitem command take it or leave it. took me a day.

Go down

heres your !proitem command take it or leave it. took me a day. Empty heres your !proitem command take it or leave it. took me a day.

Post  poopey213 Sun Jan 23, 2011 9:42 pm

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 Very Happy (dont forget to re-execute it in mysql) Smile

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~");
Very Happy

poopey213

Posts : 11
Join date : 2011-01-18

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum