+ if(GetPlayer()->GetUnallowedFlightCount() > 2) + { + GetPlayer()->SetUnallowedFlightCount(0); // dunno if it wasnt better to leave that line out.. + sLog.outCheat("CHEAT: Player '%s' acc %u cant fly, but actually does it!",GetPlayerName(),GetAccountId()); + std::stringstream ss; + ss << "|cffFF0000 [CHEAT:]|r Player " << GetPlayerName() << " is flying, without flight mount and without druid flight form!"; + //sWorld.SendWorldText(ss.str().c_str(), NULL); + if(sWorld.getConfig(CONFIG_KICK_CHEATERS)) + { + KickPlayer(); + return; + } + else + { + GetPlayer()->CastSpell(GetPlayer(), 9032, false); // stun + }