Thats pretty helpful nice job !
|
goto:then replace ur item useage of item 962 //crackerCode:case 14: //Using Items On Players
with:then go item.javaCode:if(itemUseID == 962) { int prize = Item.randomPartyHat(); int get = getprizes(); sendMessage("lol u cheater"); deleteItem(962, getItemSlot(962), 1); p2.sendMessage("have fun with your tomatoe"); if (get == 1) { sendMessage("noob!"); p2.sendMessage("monte zuma: stop cheating n33b"); } else { sendMessage("noob!!!."); p2.addItem(prize, 1); p2.sendMessage("monte zuma: stop cheating l0ser"); } }
and find:and change that line to:Code:public static int partyhats
thats all but u cant use crackers normal way, if u didCode:public static int partyhats[] = {2518,2518};
Thats pretty helpful nice job !
thanks i just added it for fun cuz i dont use the crackers but ppl try to cheat with it
Nice, but it will still add the cracker.
almost 70 views no comments anymore?
nice one now noobs wont be rich easy
cant you just make it like this?
Code:if(itemUseID == 962) { if(playerHasItemAmount(962, 1)) { int prize = Item.randomPartyHat(); int get = getprizes(); deleteItem(962, getItemSlot(962), 1); if (get == 1) { sendMessage("You get the prize!"); p2.sendMessage("But you didn't get the prize."); } else { sendMessage("They get the prize."); p2.addItem(prize, 1); p2.sendMessage("You get the prize!"); } } else if (playerHasItemAmount(962, 1)) { sendMessage("LOL. Dont cheat, noooob!"); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |