Jump to content

Question

Someone would have a npc event 
 
This npc only appears only when the event will start 2 once daily. 
Born in the arena mvp random 
Who kills the mvp wins a prize 
Then add the npc. 
 
More like this does not work 
 
prontera,151,151,5	script	ativamvp	-1,{OnClock1420: // hora que começaOnClock2300: // hora que começaenablenpc "MvP#hd";set $evt,0;announce "[MvP Global] Amiguinho, o evento vai começar daqui 5 minutos ... ",8,"0xFF8C69";end;OnClock1421: // hora que terminaOnClock2305: // hora que terminaset $evt,1;announce "[MvP Global] Venha matar o MvP e receba sua recompensa ! ",8,"0xFF8C69";donpcevent "MvP#hd::OnMvPHD";end;}prontera,147,168,6	script	MvP#hd	969,{mes .mv$;if($evt1!=1){mes "O evento ainda está fechado !";close;}mes "Deseja ir até a sala MvP?";switch(select("- Sim:- Não")){case 1:	next;	mes .mv$;	mes "Boa sorte então!";	announce ""+strcharinfo(0)+" entrou no evento MvP!",8,"0xFF8C69";	close2;	warp "pvp_n_1-3",100,100;	end;	case 2:	next;	mes .mv$;	mes "Tudo bem, até mais!";	close;	}end;OnMvPHD:announce "[MvP Global] Em 15 segundos um MVP fodelástico irá surgir e matar todos vocês",bc_map,"0xFF8C69";sleep 15000;killmonster "pvp_n_1-3","MvP#hd::OnLabelMVP";set .@rand,rand(getarraysize(.mvps));monster "pvp_n_1-3",100,100,strmobinfo(2,.mvps[.@rand]),.mvps[.@rand],1,"MvP#hd::OnLabelMVP";announce "[MvP Global] O MvP "+strmobinfo(2,.mvps[.@rand])+" apareceu no mapa!",bc_map,"0xFF8C69";end;OnLabelMVP:disablenpc "MvP#hd";getitem 665,1; // premiaçãoannounce "[MvP Global]"+strcharinfo(0)+" matou  o MvP!",bc_map,"0xFF8C69";set $evt,0;end;//OnInit:set .mv$,"[MvP Global]"; // nome do npcsetarray .mvps[0],1039,1115,1112,1046,1086; // ids dos mvp'send;//}pvp_n_1-3	mapflag	gvg	offpvp_n_1-3	mapflag	nowarppvp_n_1-3	mapflag	noteleportpvp_n_1-3	mapflag	nowarptopvp_n_1-3	mapflag	nobranchpvp_n_1-3	mapflag	nosave	SavePointpvp_n_1-3	mapflag	nomemopvp_n_1-3	mapflag	nopenaltypvp_n_1-3	mapflag	pvp	offpvp_n_1-3	mapflag	noexp

 

 

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

announce command was problem

 

announce "[MvP Global]"+strcharinfo(0)+" matou  o MvP!",bc_map,"0xFF8C69";

 

should be

 

announce "[MvP Global]"+strcharinfo(0)+" matou  o MvP!",bc_map,0xFF8C69; 

http://upaste.me/f6d515766f8ea864d

 

Now he is giving to closed event after the announcement

 

mes "O evento ainda está fechado !";

MVP is not born

Edited by Break San

Share this post


Link to post
Share on other sites
  • 0

The problem that the mvp this not being born and the npc is not getting hide in.

 

Purpose of scrip

 

NPC only appears only when the event will start two once per day.Born a aletorio MVP for roundWho kills the mvp wins a prizeAs soon as the event is in the npc hide
Edited by Break San

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.