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

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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