Dev Blaze Posted March 1, 2017 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 212 Reputation: 5 Joined: 01/24/12 Last Seen: February 19, 2019 Share Posted March 1, 2017 - 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 Quote Link to comment Share on other sites More sharing options...
0 Envolvents Posted March 1, 2017 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 03/24/13 Last Seen: January 11, 2020 Share Posted March 1, 2017 this? Quote Link to comment Share on other sites More sharing options...
Question
Dev Blaze
- 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.