Jump to content
  • 0
Sign in to follow this  
youtube

R>party points

Question

good day :D

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

 

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.