View Full Version : help for castspell 8690 in script

03-27-2016, 03:39 AM
how to castspell 8690 of hearthstone in script?

player->CastSpell(player, 8690, false);
i used this code,but can`t castspell successful. this code is in hearthstone`s itemscript menu. i want click this menu to back bind home.
can help me ?

03-27-2016, 05:24 AM
Moved thread to CORRECT section. TrinityCore (http://emudevs.com/forumdisplay.php/13-TrinityCore) -> C++ (http://emudevs.com/forumdisplay.php/14-C) IS NOT A SUPPORT SECTION.

If you need TrinityCore help post in World of Warcraft Support (http://emudevs.com/forumdisplay.php/274-World-of-Warcraft-Support) section.

I'm not following what you want. Are you wanting to cast a spell when someone clicks their Hearthstone? Can you be more specific? Also, if you have a script paste it here.