- Forum ExCity OTS http://www.excity.pun.pl/index.php - Skrypty http://www.excity.pun.pl/viewforum.php?id=6 - [Actions][8.1]Experience Ticket. http://www.excity.pun.pl/viewtopic.php?id=10 |
ziele - 2008-11-18 18:08:53 |
SKRYPT NIE MOJ !!!! Kod:function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerLevel(cid) >= 10 then doCreatureSay(cid, "You Gained 1000 Experience!", TALKTYPE_ORANGE_1) doPlayerAddExp(cid, 1000) doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS) doRemoveItem(item.uid) return TRUE else doCreatureSay(cid, "You must be level 10 or above to use this ticket.", TALKTYPE_ORANGE_1) end end Actions.xml Kod:<action itemid="7491" script="expTicket.lua" /> !!!! OPIS !!!!! |