[C++]Script for revive

Hi guys, i’ve got a litlle problem with one of my scripts. I’m using Core rev. 905685516092+.
Script itself:

#include “ScriptPCH.h”
#include “ScriptMgr.h”

class questRevive : public CreatureScript
questRevive() : CreatureScript(“questRevive”){ }

    bool OnQuestComplete(Player* player, Creature* creature, Quest const* quest)
                if(quest->GetQuestId() != 26000)
                        return false;
                return true;

void AddSC_questRevive()
new questRevive();

Script should revive player after he will finish quest with id 26000. It has been added to “custom_script_loaded.cpp”
Thank you for any help

Nvm forum jumper