Hi everyone!
I've found this world chat script and i wanted to add to my source but i've got 3 errors.
Script pastebin: irancore/wordchat.cpp
Line 443-448(Errors on line 443 and 446 - class cs_world_chat : public CommandScript(443) - cs_world_chat() : CommandScript("cs_world_chat") (446) )
Code:
class cs_world_chat : public CommandScript
{
public:
cs_world_chat() : CommandScript("cs_world_chat") {}
static bool HandleWorldChatCommand(ChatHandler* handler, const char* args)
Line 463-466(error on line 463 - std::vector<ChatCommand> GetCommands() const override)
Code:
std::vector<ChatCommand> GetCommands() const override
{
static std::vector<ChatCommand> cs_world_chat =
To mention that i have TrinityCore(Latest Rev) - 3.3.5a
Does anyone know how to fix it?
Thank you for taking you time reading/replying on my thread.
Best wishes, Khasm!