11-17-2009, 09:38 AM
(Сообщение последний раз редактировалось: 11-17-2009, 09:41 AM DorianGrey.)
PROGRAMMATOR Написал:intheend, я кстати об этом и спрашивал на прошлой странице.
Вот это как раз не с 20, так как если бы с 20-го, то и в 21 получил бы приз.
епт так поставьте тода место "==" 20
">" 20
и все, хотя я зделал подругому тупо вписал 95 раз (на серве 95лвл макс):p
и всегда с разной наградой. вписывал == 20; == 21; == 22; и т.д до 95
Добавлено через 3 минуты
типо этого///
Открыть спойлер
Спойлерif (lvl == 20)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
else
if (lvl == 21)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 22)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 23)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 24)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 25)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 26)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 27)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 28)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 29)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 30)
{
sendMessage ("You have recieved 3 stat points.");
getInventory().addItem("FA", 6673, 3, this, this);
}
if (lvl == 31)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 32)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 33)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 34)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 35)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 36)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 37)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 38)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 39)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 40)
{
sendMessage ("You have recieved 4 stat points.");
getInventory().addItem("FA", 6673, 4, this, this);
}
if (lvl == 41)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 42)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 43)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 44)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 45)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 46)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 47)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 48)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 49)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 50)
{
sendMessage ("You have recieved 5 stat points.");
getInventory().addItem("FA", 6673, 5, this, this);
}
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
else
if (lvl == 21)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 22)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 23)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 24)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 25)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 26)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 27)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 28)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 29)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 30)
{
sendMessage ("You have recieved 3 stat points.");
getInventory().addItem("FA", 6673, 3, this, this);
}
if (lvl == 31)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 32)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 33)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 34)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 35)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 36)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 37)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 38)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 39)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 40)
{
sendMessage ("You have recieved 4 stat points.");
getInventory().addItem("FA", 6673, 4, this, this);
}
if (lvl == 41)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 42)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 43)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 44)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 45)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 46)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 47)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 48)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 49)
{
sendMessage ("You have recieved 2 stat points.");
getInventory().addItem("FA", 6673, 2, this, this);
}
if (lvl == 50)
{
sendMessage ("You have recieved 5 stat points.");
getInventory().addItem("FA", 6673, 5, this, this);
}
ну и т.д до 95 хД
сервер x20
xD
[SIGPIC][/SIGPIC]