Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- *╔═╦═╦═╦╦╦══╦═╦╗─╔╦══╗
- *║╦╣║║║║║╠╗╗║╦╣╚╦╝║══╣
- *║╩╣║║║║║╠╩╝║╩╬╗║╔╬══║
- *╚═╩╩═╩╩═╩══╩═╝╚═╝╚══╝
- * http://emudevs.com
- */
- class item_tutorial : public ItemScript
- {
- public:
- item_tutorial() : ItemScript("item_tutorial") { }
- bool OnUse(Player* player, Item* /* item */, SpellCastTargets const & /* targets */) OVERRIDE
- {
- player->GetSession()->SendNotification("NOMNOM!");
- return true;
- }
- };
- void AddSC_custom_thing()
- {
- new item_tutorial;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement