viewing paste Unknown #23952 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
-   script  FarmLocation    -1,{
OnClock1000: // настроить время
 
if( gettime(4) == 0 || gettime(4) == 4 )
{
    enablenpc "NPCNAME"; // поменять имя
    initnpctimer;
    end;
}
 
OnTimer1800000:
    disablenpc "NPCNAME"; // Поменять имя
    mapwarp "1@def02", "prontera", 150, 150;
    end;
}
 
prontera,150,150,6  script  NPCNAME 100,{ // имя смени и спрайт
    warp "1@def02", x, y; // координаты смени
    // диалоги сам добавишь
    end;
}
Viewed 660 times, submitted by Guest.