request for Mvp Points

@@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;
}

 
@@Bringer yes 
default_laugh.png
 
default_tongue.png


 
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;
}


 
Last edited by a moderator:
Back
Top