All pastes #792213 Raw Edit

Unnamed

public cpp v1 · immutable
·published 2007-11-21 06:41 UTC
rendered paste body
+            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+                }