kyeme Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 03/08/12 Last Seen: 2 hours ago Share Posted August 28, 2012 Hello Good day! Im here for requesting the script. This is for the party members receiving the item. Example: When one of the party members killed the enemy, everyone (only party members in the same MAP) will receive an item. Thanks in advance. ~kyeme Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 28, 2012 OnLABEL: if( getcharid(1) ){ set .@Location$,strcharinfo(3); getpartymember getcharid(1),1; getpartymember getcharid(1),2; for ( set .@a, 0; .@a < $@partymembercount; set .@a, .@a +1 ) if ( isloggedin( $@partymemberaid[.@a] ) ){ attachrid( $@partymemberaid[.@a] ); if( strcharinfo(3) == .@Location$ ){ getitem 607,1; getitem 608,1; } } } end; Quote Link to comment Share on other sites More sharing options...
kyeme Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 03/08/12 Last Seen: 2 hours ago Author Share Posted August 28, 2012 (edited) Thanks Sir Emistry! Il try this.. Hi Sir but the script is not working, i change d into - script Test -1,{ OnPCKillEvent: if( getcharid(1) ){ set .@Location$,strcharinfo(3); getpartymember getcharid(1),1; getpartymember getcharid(1),2; for ( set .@a, 0; .@a < .partymembercount; set .@a, .@a +1 ) if ( isloggedin( .partymemberaid[.@a] ) ) attachrid( .partymemberaid[.@a] ); if( strcharinfo(3) == .@Location$ ){ getitem 607,1; getitem 608,1; } } end; } But still not working, only the killer can get the items. Edited August 28, 2012 by kyeme Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 28, 2012 try this again fixed wrong variable OnLABEL: if( getcharid(1) ){ set .@Location$,strcharinfo(3); getpartymember getcharid(1),1; getpartymember getcharid(1),2; for ( set .@a, 0; .@a < $@partymembercount; set .@a, .@a +1 ) if ( isloggedin( $@partymemberaid[.@a] ) ){ attachrid( $@partymemberaid[.@a] ); if( strcharinfo(3) == .@Location$ ){ getitem 607,1; getitem 608,1; } } } end; 2 Quote Link to comment Share on other sites More sharing options...
kyeme Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 03/08/12 Last Seen: 2 hours ago Author Share Posted August 28, 2012 (edited) Hi Sir, the script is not working to the killer and some party members.. Help Sir Emistry.. Edited August 28, 2012 by kyeme Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 28, 2012 it only work for those who are in the same map..... Quote Link to comment Share on other sites More sharing options...
kyeme Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 03/08/12 Last Seen: 2 hours ago Author Share Posted August 28, 2012 Yes same map. But not working to the Killer.. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted August 28, 2012 it work fine at my test server..... 1 Quote Link to comment Share on other sites More sharing options...
kyeme Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 03/08/12 Last Seen: 2 hours ago Author Share Posted August 28, 2012 Its working now! Im sorry, I think wrong copy paste hahaha. Thank you very mush Sir! Quote Link to comment Share on other sites More sharing options...
Question
kyeme
Hello Good day! Im here for requesting the script. This is for the party members receiving the item.
Example: When one of the party members killed the enemy, everyone (only party members in the same MAP) will receive an item.
Thanks in advance.
~kyeme
Link to comment
Share on other sites
8 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.