Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .@itemid = 512;
- .amound = 10;
- .@aid = getcharid(3);
- getpartymember getcharid(1),0;
- getpartymember getcharid(1),2;
- while( .@i < $@partymembercount ){
- if( attachrid( $@partymemberaid[ .@i ] ) )
- if( countitem( .@itemid ) < .@amount ){
- attachrid( .@rid );
- mes Your member "+$@partymembername$[.@i]+" didnt have "+.@amount+" "+getitemname( .@itemid )+".";
- close;
- }
- .@i++;
- }
- attachrid( .@rid );
- mes "All got items.";
- close;
Advertisement
Add Comment
Please, Sign In to add comment