kitty14 Posted April 27, 2014 Posted April 27, 2014 Isans monster lang binibilang ng npc the rest wala napano po ba ito? if (readpain2 >= 1) { mes "[Pain]"; mes "Did you capture the tailed beast?"; menu "Yes", L_YES, "What are those again?", L_list; L_YES: if (AddaxKills < 2 || TGCKills < 2 || BHZKills < 2 || FabKills < 2) { mes "[Pain]"; mes "I don't see them complete!!"; close; } if (AddaxKills >= 2 || TGCKills >= 2 || BHZKills >= 2 || FabKills >= 2 ) { mes "[Pain]"; mes "This is it.....!"; next; mes "Now,"; mes "Lets go to Uchiha Madara"; set donepain2, 1; close; warp "niflheim",304,76; end; } L_list: mes "[Pain]"; mes "Hmmm. You are missing..."; if (AddaxKills < 2) mes "^FF0000"+(2 - AddaxKills) +"^000000 Addax"; if (TGCKills < 2) mes "^FF0000"+(2 - TGCKills) +"^000000 Green Teen Chipmunks"; if (BHZKills < 2) mes "^FF0000"+(2 - BHZKills) +"^000000 Blue Hell Centaur"; if (FabKills < 2) mes "^FF0000"+(2 - FabKills) +"^000000 Fabilsag"; close; } mes "[Pain]"; mes "Yes?"; next; mes "[" + strcharinfo(0) + "]"; mes "I want to meet"; next; mes "[" + strcharinfo(0) + "]"; mes "Uchiha Madara"; next; mes "[Pain]"; mes "meet Uchiha Madara huh?"; next; mes "[Pain]"; mes "I'll let you meet him"; mes "but I need you to hunt/capture this beast"; next; mes "2 Blue Hell Centaur"; mes "2 Green Teen chipmunks"; mes "2 Addax"; mes "1 fabilsag"; set npc, 1; set readpain2, 1; next; menu "I will!",-,"Are you kidding me?",l_v; mes "[Pain]"; mes "Go now!"; close; l_v: mes "[Pain]"; mes "Do I look like I am kidding?!!!"; next; mes "[Pain]"; mes "Nimpu"; mes "Deva path!"; close2; percentheal -100,0; end; OnNPCKillEvent: if(killedrid == 3221) { set AddaxKills,AddaxKills + 1; if(AddaxKills == 2) { announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3249) { set TGCKills,TGCKills + 1; if(TGCKills == 2) { announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3218) { set BHZKills,BHZKills + 1; if(BHZKills == 2) { announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3250) { set FabKills,FabKills + 1; if(FabKills == 2) { announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } } } } } end; } salamat Quote
Magnetix Posted May 4, 2014 Posted May 4, 2014 Mali ang position ng closing curly braces. Try this: OnNPCKillEvent: if(killedrid == 3221) { set AddaxKills,AddaxKills + 1; if(AddaxKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3249) { set TGCKills,TGCKills + 1; if(TGCKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3218) { set BHZKills,BHZKills + 1; if(BHZKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3250) { set FabKills,FabKills + 1; if(FabKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } end; 1 Quote
kitty14 Posted May 6, 2014 Author Posted May 6, 2014 (edited) Thank you!! Uhmm bat po ganun??kahit di nila kiakausap ang npc o di sila nag ququest nag gumagana ung map announce sa MVP's??? Edited May 10, 2014 by kitty14 Quote
Magnetix Posted May 17, 2014 Posted May 17, 2014 kc po dahil sa OnNPCKillEvent: dagdag ka nlng ng map check OnNPCKillEvent: if (strcharinfo(3) != map_name) end; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.