youtube Posted August 16, 2013 Posted August 16, 2013 (edited) good day can i request about cashpoint details one party name PARTYLIST 5members when i kill this mobs 1514 my partymembers got cashpoints20 all members same like my points and annouce the partyname kill this mobs and 1609 i kill this mobs i got 50cashpoints and my party members and annouce the party members this party kill this mobs this details for mobs 1514=20 cashpoints 1511=30 cashpoints 1548= 40 cashpoints 1609 = 60 cashpoints Edited August 16, 2013 by youtube Quote
Emistry Posted August 17, 2013 Posted August 17, 2013 like this ? http://rathena.org/board/topic/86325-change-script-so-all-party-member-got-50-cashpoints/ Quote
youtube Posted August 17, 2013 Author Posted August 17, 2013 yea same but i think this script is divide to how many party member i want if i kill 1514=20 cashpoints 1511=30 cashpoints 1548= 40 cashpoints 1609 = 60 cashpoints then my party member same my Cashpoints LETS SAY I KILL THIS 1609 ID MOB I GOT MY CASHPOINT IS 60 AND MY PARTY MEMBERS GOT 60CASHPOINTS EACH. NOT DIVIDED SAME THE OTHER ID MOBS 1514 , 1511 ,1548 Quote
Capuche Posted August 17, 2013 Posted August 17, 2013 - script Partypoints -1,{ function AddMob; OnNPCKillEvent: // <mob ID>, <Cashpoints reward> AddMob( 3600,20 ); AddMob( 3627,20 ); AddMob( 3628,20 ); AddMob( 3629,50 ); end; function AddMob { if ( killedrid != getarg(0) ) return; set .@party_id, getcharid(1); set .@point, getarg(1); if( !.@party_id ){ set #CASHPOINTS,#CASHPOINTS + .@point; dispbottom "Gained "+.@point+" Cashpoints."; }else{ getpartymember .@party_id,1; getpartymember .@party_id,2; set .@acc_id, getcharid(3); set .@map$,strcharinfo(3); for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ) if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if( HP && strcharinfo(3) == .@map$ ) { set #CASHPOINTS,#CASHPOINTS + .@point; dispbottom "Gained "+.@point+" Cashpoints."; } } } } } Quote
Phantom Of Rogue-Gon Posted August 18, 2013 Posted August 18, 2013 how to add Partyname announce?? i i kill 1 mob my Partyname is annouce Quote
Emistry Posted August 18, 2013 Posted August 18, 2013 getpartymember .@party_id,1; getpartymember .@party_id,2; set .@acc_id, getcharid(3); set .@map$,strcharinfo(3); announce getpartyname( .@party_id )+" gained cashpoints.",0; // <---- ADD THIS you may refer announce , getpartyname ... Quote
Question
youtube
good day
can i request about cashpoint
details
one party name PARTYLIST 5members
when i kill this mobs 1514 my partymembers got cashpoints20 all members
same like my points and annouce the partyname kill this mobs
and
1609 i kill this mobs i got 50cashpoints and my party members and annouce the party members this party kill this mobs
this details for mobs
1514=20 cashpoints
1511=30 cashpoints
1548= 40 cashpoints
1609 = 60 cashpoints
Edited by youtube5 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.