Jump to content
  • 0

Any one got this script?


Dev Blaze

Question


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

-	script	MVPPOINTS	-1,{
	
OnNpcKillEvent:
   if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) {
       if( getmonsterinfo(killedrid, 22) )
       .@R = rand( 1, 10 );//-- MVP
     #MVPPOINTS = #MVPPOINTS + .@R;
	 set .@party_id,getcharid(1);
		if( !.@party_id ){
		set #MVPPOINTS,#MVPPOINTS + .@R;
		dispbottom "Gained "+.@R+" points.";
	 }else{
	getpartymember getcharid(1), 1;
	getpartymember getcharid(1), 2;
	for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { // what happens if someone in the party member is offline =/
	.@partymemberaid[.@c] = $@partymemberaid[.@i];
	.@c++;
	}
	}
announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), 0;
dispbottom "Gained : "+ .@R +" points. Total : "+ #MVPPOINTS +" points."; }
	   announce "[ Player ] "+strcharinfo(0)+" has killed [ "+getmonsterinfo(killedrid,0)+" ] at the map of [ "+strcharinfo(3)+" ]",0, 0x47EEAC;
       dispbottom "Gained : "+ .@R +" points. Total : "+ #MVPPOINTS +" points."; }
	}	
end;
}

Party points not working help me thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  03/24/13
  • Last Seen:  

this?

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...