kerbiii 5 Posted April 10, 2016 hello i just want to know how to make the npc check for: 1. guild level 2. # of online guild member Quote Share this post Link to post Share on other sites
1 Tokeiburu 229 Posted April 10, 2016 If you want to know the amount of players in a guild for a specific map, you may also want to use: .@count = getmapguildusers("prontera", getcharid(2)); 2 evilpuncker and kerbiii reacted to this Quote Share this post Link to post Share on other sites
0 Kubix 83 Posted April 10, 2016 (edited) getguildmember getcharid(2), 1; getguildmember getcharid(2), 2; for( .i = 0; .i < getarraysize($@guildmemberaid); .i ++ ) if( isloggedin( $@guildmemberaid[.i], $@guildmembercid[.i] ) ) .Online_Char ++; mes "There is " + .Online_Char + " characters online on your guild."; close; query_sql( "SELECT guild_lv FROM guild WHERE guild_id = " + getcharid(2), .GLV ); mes "Guild Level : " + .GLV; close; Edited April 10, 2016 by Kubix 1 kerbiii reacted to this Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted April 11, 2016 thank you for this i will try this and report back Quote Share this post Link to post Share on other sites
hello i just want to know how to make the npc check for:
1. guild level
2. # of online guild member
Share this post
Link to post
Share on other sites