
06.08.2015, 21:26
|
|
Флудер
Регистрация: 20.01.2015
Сообщений: 7,201
С нами:
5952720
Репутация:
6527
|
|
Сюда буду публиковать весь код, как выразился гринд раз я балабол то пускай все посмотрят и почитают данный код:
Сообщение от Спойлер
if(player.getVar("EnterAntharas") !=null)
return;
else
{
player.sendMessage(player.isLangRus() ? "Вы не можете находиться здесь." : "You can not be here.");
player.teleToLocation(82698, 148638, -3473);
}
Сообщение от Спойлер
if(player.getVar("EnterBaium") !=null)
return;
else
{
player.sendMessage(player.isLangRus() ? "Вы не можете находиться здесь." : "You can not be here.");
player.teleToLocation(147450, 27120, -2208);
}
Сообщение от Спойлер
if(player.getVar("EnterHellbound") !=null && player.getVar("EnterUrban") !=null && HellboundManager.getHellboundLevel() !=0 && (player.isQuestCompleted("_130_PathToHellbound") || player.isQuestCompleted("_133_ThatsBloodyHot")))
return;
else
{
player.sendMessage(player.isLangRus() ? "Вы не можете находиться здесь." : "You can not be here.");
player.teleToLocation(82698, 148638, -3473);
}
Сообщение от Спойлер
if(player.getVar("EnterHellbound") !=null && HellboundManager.getHellboundLevel() !=0 && (player.isQuestCompleted("_130_PathToHellbound") || player.isQuestCompleted("_133_ThatsBloodyHot")))
return;
else
{
player.sendMessage(player.isLangRus() ? "Вы не можете находиться здесь." : "You can not be here.");
player.teleToLocation(82698, 148638, -3473);
}
Сообщение от Спойлер
if(player.getVar("EnterValakas") !=null)
return;
else
{
player.sendMessage(player.isLangRus() ? "Вы не можете находиться здесь." : "You can not be here.");
player.teleToLocation(147725, -56517, -2780);
}
Вот так реализованы зоны у Grind-Team где реализован весь официальный контент, когда можно от многих багов избавиться глянув офф скрипты, но тут не суть даже в нём а суть в данном коде. Давайте насиловать бд и писать не нужное, а использовать статик методы видимо для лохов.
|
|
|