Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script left4dead -1,{
- OnInit: bindatcmd("nvz","left4dead::OnEvent"); end;
- OnEvent:
- announce "Event Zombie Vs. Novice will begin in ~5~",0;
- sleep 1000;
- announce "Event Zombie Vs. Novice will begin in ~4~",0;
- sleep 1000;
- announce "Event Zombie Vs. Novice will begin in ~3~",0;
- sleep 1000;
- announce "Event Zombie Vs. Novice will begin in ~2~",0;
- sleep 1000;
- announce "Event Zombie Vs. Novice will begin in ~1~",0;
- sleep 1000;
- //if ( getmapusers("quiz_01") <= 1){
- //announce "Not enough players.. Event cancelled.",0;
- //sleep 1000;
- //}
- announce "Event 'Zombie Vs. Novice' has begun!!",0,0x00FF00;
- announce "Novice RFYL Event: "+getmapusers("quiz_01")+" players in the Event.",0,0x00FF00;
- sleep 5000;
- mapannounce "quiz_01","WARNING: Four Zombies will spawn near the center in 10 seconds and everytime a players dies!",0;
- sleep 5000;
- monster "quiz_01",42,369,"LEFT4DEAD",1015,4;
- end;
- winner:
- killmonsterall "quiz_01";
- mapannounce "quiz_01","You have won",0;
- enablenpc "Prize";
- stopnpctimer;
- close;
- end;
- OnPCDieEvent:
- getmapxy .@maprfyl$,.@xrfyl,.@yrfyl,0;
- if ( .@maprfyl$ == "quiz_01") {
- monster "quiz_01",.@xrfyl,.@yrfyl,""+strcharinfo(0)+"",1015,1;
- announce "Novice RFYL Event: "+getmapusers("quiz_01")+" remaining players in the Event.",0,0x00FF00;
- sleep2 1;
- warp "prontera",156,223;
- atcommand "@alive "+ strcharinfo(0);
- dispbottom "You have died...";
- if ( getmapusers("quiz_01") <= 1) goto winner;
- }
- end;
- }
- quiz_01,42,369,3 script Prize 72,{
- announce "Novice RFYL Event: " + strcharinfo (0) + " won! " + (sex == 1?"He": "She") +" won an item!",0;
- getitem 501,1;
- warp "prontera",156,223;
- disablenpc "Prize";
- end;
- OnInit:
- disablenpc "Prize";
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement