zackpinoy 0 Posted July 24, 2014 how do i enable broadcast message on group user player 2? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted July 24, 2014 On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? Quote Share this post Link to post Share on other sites
0 zackpinoy 0 Posted July 24, 2014 On 7/24/2014 at 3:55 PM, Angelmelody said: On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? yes Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted July 24, 2014 (edited) On 7/24/2014 at 4:50 PM, zackpinoy said: On 7/24/2014 at 3:55 PM, Angelmelody said: On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? yes query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } Edited July 24, 2014 by Angelmelody 1 zackpinoy reacted to this Quote Share this post Link to post Share on other sites
0 zackpinoy 0 Posted July 24, 2014 On 7/24/2014 at 5:50 PM, Angelmelody said: On 7/24/2014 at 4:50 PM, zackpinoy said: On 7/24/2014 at 3:55 PM, Angelmelody said: On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? yes query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } where do i put this code? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted July 24, 2014 On 7/24/2014 at 6:21 PM, zackpinoy said: On 7/24/2014 at 5:50 PM, Angelmelody said: On 7/24/2014 at 4:50 PM, zackpinoy said: On 7/24/2014 at 3:55 PM, Angelmelody said: On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? yes query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } where do i put this code? in your broadcast npc Quote Share this post Link to post Share on other sites
0 zackpinoy 0 Posted August 3, 2014 On 7/24/2014 at 6:30 PM, Angelmelody said: On 7/24/2014 at 6:21 PM, zackpinoy said: On 7/24/2014 at 5:50 PM, Angelmelody said: On 7/24/2014 at 4:50 PM, zackpinoy said: On 7/24/2014 at 3:55 PM, Angelmelody said: On 7/24/2014 at 12:08 PM, zackpinoy said: how do i enable broadcast message on group user player 2?what does 'group user player 2' mean? Super Player? yes query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } query_sql("SELECT account_id FROM `login` WHERE group_id=2" ,.@g2aid); .@size = getarraysize(.@g2aid); for(.@i=0;.@i<.@size;.@i++) { if (attachrid(.@g2aid[.@i])) announce "blah blah........",bc_blue|bc_self; } where do i put this code? in your broadcast npc i tried to put kami: true under super player in trunk/conf/groups.conf and it worked thanks also for you're help Quote Share this post Link to post Share on other sites
how do i enable broadcast message on group user player 2?
Share this post
Link to post
Share on other sites