yuhsing

Untitled

Mar 27th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2. prontera,155,181,5 script Sample 757,{
  3. setarray .@MonsterID[0],1002,1002,1002,1002;
  4.  
  5. mes "What you want to summon ?";
  6. for( set .@i,0; .@i < getarraysize( .@MonsterID ); set .@i,.@i + 1;
  7. set .@Menu$,.@Menu$ + getmonsterinfo( .@MonsterID[.@i],0 )+":";
  8. set .@i,select( .@Menu$ ) - 1;
  9. mes "Summon "+getmonsterinfo( .@MonsterID[.@i],0 )+"?";
  10. if( select("YES:NO") == 1 ){
  11. monster strcharinfo(3),-1,-1,"--ja--",.@MonsterID[.@i],1,strnpcinfo(0)+"::OnKilled";
  12. }
  13. close;
  14.  
  15. OnKilled: end;
  16. OnPCLogoutEvent:
  17. OnPCDieEvent:
  18. if( strcharinfo(3) == "prontera" )
  19. killmonster "prontera",strnpcinfo(0)+"::OnKilled";
  20. end;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment