Jump to content
  • 0
Sign in to follow this  
Bringer

request for Mvp Points

Question

5 answers to this question

Recommended Posts

  • 0

@@Bringer

 

if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && strcharinfo(3) == "PUT THE MVP MAP HERE" ) {
set #CASHPOINTS, #CASHPOINTS + 10;
end;
}
 
example :
// EDDGA
if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && strcharinfo(3) == "pay_fild11" ) {
set #CASHPOINTS, #CASHPOINTS + 10;
end;
}

Share this post


Link to post
Share on other sites
  • 0

You could also use something like this:

 

 

-<tab>script<tab>MVPoints<tab>-1,{OnNPCKillEvent:switch(killedrid) { case MVPID:case MVPID1:case MVPID2:and so on...#MVPPoints += 1;dispbottom "You've gained 1 MVP Point for killing MVP!";end;}

 

Adding multiple locations to script above:

 

OnNPCKillEvent:

// EDDGA

if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && (strcharinfo(3) == "pay_fild11" || strcharinfo(3) == "OTHERMAP" || strcharinfo(3) == "OTHERMAP1")) {
set #CASHPOINTS, #CASHPOINTS + 10;
end;
}

 

Edited by Oxxy

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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