yuhsing

Untitled

Nov 17th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1.  
  2. OnPCLogoutEvent:
  3. OnPCDieEvent:
  4. if( getarraysize( .Participant$ ) > 1 ){
  5. for( set .@i,0; .@i < getarraysize( .Participant$ ); set .@i,.@i + 1 )
  6. if( strcharinfo(0) == .Participant$[.@i] )
  7. deletearray .Participant$[.@i],1;
  8. }
  9. if( getarraysize( .Participant$ ) == 1 ){
  10. if( attachrid( getcharid( 3,.Participant$[0] ) ) ){
  11. getitem 607,1;
  12. getitem 608,2;
  13. getitem 512,3;
  14. announce "LMS Winner : "+.Participant$[0],0;
  15. mapwarp "guild_vs5","prontera",155,181;
  16. }
  17. }
  18. end;
Advertisement
Add Comment
Please, Sign In to add comment