Назад

Riot

Автор: ????: Дата: 08.02.2009

Вот собсна наткнулся на евентик кому интесно ценим)

//===== eAthena Script =======================================
//= Prontera Riot Event
//===== By: ==================================================
//= 340947
//===== Current Version: =====================================
//= 2.2a
//===== Compatible With: =====================================
//= eAthena SVN 02/05/2005 +
//===== Description: =========================================
//= this event will hapen at 19:00 (7:00 PM) and allow players to Riot Prontera
//===== Additional Comments: =================================
//= ask me first before you edit and post this (if you do that is)
//============================================================

prontera,156,182,0 script Riot -1,{
end;

OnClock1900:
Announce "TRANSMISSION--This is a Private Transmission...we are going to...",8;
sleep2 5000;
Announce "Riot Prontera,But we need your Help! ",8;
sleep2 5000;
Announce "come to Prontera and kill evry one, and evry thing ",8;
sleep2 5000;
Announce "BUT don't die the Prontera Police will JAIL YOU!",8;
sleep2 5000;
Announce "END TRANSMISSION--------------------",8;
sleep2 5000;
atcommand "@pvpon ";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,70,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,10,"Riot::OnMob";
sleep2 60000;
monster "prontera",0,0,"Prontera Police",1968,40,"Riot::OnMob";
end;

OnClock1930:
atcommand "@pvpoff ";
atcommand "@killmonster ";
Announce "Theres to many police i'm calling this",8;
end;

OnMob:
end; //(when a player kills one of the Prontera Police this will happen)

//when a player dies they will be jailed for 10 min

OnPCDieEvent:
getmapxy(@mapname$,@mapx,@mapy,0);
if ( @mapname$ == "prontera") {
if (gettime(3)== 19) goto Z_1;
end;

Z_1:
if (gettime(2)<= 30) goto Z_2;
end;

Z_2:
dispbottom "You will be in jail for 30 minute";
dispbottom "Riots are ILLEGAL!!!";
atcommand "@jailfor 10mn "+strcharinfo(0);
sleep2 3000;
nude;
atcommand "@alive "+strcharinfo(0);
}
}

Автор: : Дата: 01.01.1970