erryngok Posted January 18, 2016 Posted January 18, 2016 I already seach the cashpoint script, but all about pvp and mvp kill can get the cash point. Anyone can share with me script that if kill any monster in akk maps can get cash point ? Thanks advanced and sorry my bad english . Quote
0 benching Posted January 19, 2016 Posted January 19, 2016 (edited) - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set .@R,1; //cashpoints per kill end; } this will add cashpoint for each monster killed Edited January 19, 2016 by benching Quote
0 benching Posted January 18, 2016 Posted January 18, 2016 search for the use ofOnNPCKillEvent andatcommandthat will help you. Quote
0 erryngok Posted January 19, 2016 Author Posted January 19, 2016 (edited) search for the use of OnNPCKillEvent and atcommand that will help you. I show the example script.. this one if kill mvp / mini bos.. how if if kill all mob on all maps ? - script gvubhnji -1,{ OnNPCKillEvent: if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) { if( getmonsterinfo(killedrid, 22) ) .@R = rand( 100, 500 );//-- MVP else .@R = rand( 50, 150 );//-- MINIBOSS #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; } Edited January 19, 2016 by erryngok Quote
0 erryngok Posted January 19, 2016 Author Posted January 19, 2016 - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set .@R,1; //cashpoints per kill end; } this will add cashpoint for each monster killed Thanks sir Quote
0 bombsy Posted January 30, 2021 Posted January 30, 2021 On 1/19/2016 at 9:31 AM, erryngok said: Thanks sir what value do you change here to change how much earned per kill? Quote
Question
erryngok
I already seach the cashpoint script, but all about pvp and mvp kill can get the cash point. Anyone can share with me script that if kill any monster in akk maps can get cash point ?
Thanks advanced and sorry my bad english .
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.