R>party points

youtube

New member
Messages
23
Points
0
good day
default_biggrin.png
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​
 ​
 ​
 
Code:
-    script    asdf    -1,{OnNPCKillEvent:    for(;.@i<.size;.@i++){        if(killedrid== .cm[.@i]){            set .@f,1;            break;        }    }    if(!.@f) end;    set .@pid,getcharid(1);    if(!.@pid)end;    set .@map$,strcharinfo(3);    getpartymember .@pid,2;    getpartymember .@pid,1;    for (; .@j < $@partymembercount; .@j++) {        if(isloggedin($@partymemberaid[.@j],$@partymembercid[.@j]) && attachrid($@partymemberaid[.@j]) && .@map$==strcharinfo(3) && HP ){            set #CASHPOINTS,#CASHPOINTS+.rp[.@i];            announce "kill mob ["+getmonsterinfo(.cm[.@i],0)+"], get Party Points : "+.rp[.@i],bc_self,0x00FF00;        }    }end;OnInit:    setarray .cm[0],1514,1096;    setarray .rp[0],20,50;    set .size, getarraysize(.cm);}
 
Back
Top