Eivohr Posted March 16, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 71 Reputation: 0 Joined: 01/14/13 Last Seen: March 29, 2013 Share Posted March 16, 2013 Hello, anyone who can make a NPC that warp to the map with only 10+ Guildmates. Thanks Quote Link to comment Share on other sites More sharing options...
Euphy Posted March 16, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted March 16, 2013 // If guild members must be online, uncomment this line. //set .@str$," AND `online` = 1"; set .@gid, getcharid(2); if (.@gid) { set .@count, query_sql("SELECT `char_id` FROM `char` WHERE `guild_id` = "+.@gid+.@str$,.@temp); if (.@count >= 10) { warp "map",x,y; end; } } mes "You need at least 10 guild members."; close; 1 Quote Link to comment Share on other sites More sharing options...
Eivohr Posted March 17, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 71 Reputation: 0 Joined: 01/14/13 Last Seen: March 29, 2013 Author Share Posted March 17, 2013 // If guild members must be online, uncomment this line. //set .@str$," AND `online` = 1"; set .@gid, getcharid(2); if (.@gid) { set .@count, query_sql("SELECT `char_id` FROM `char` WHERE `guild_id` = "+.@gid+.@str$,.@temp); if (.@count >= 10) { warp "map",x,y; end; } } mes "You need at least 10 guild members."; close; Thanks Eupry's ^^ Quote Link to comment Share on other sites More sharing options...
Question
Eivohr
Hello, anyone who can make a NPC that warp to the map with only 10+ Guildmates. Thanks
Link to comment
Share on other sites
2 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.