iubantot Posted August 11, 2019 Group: Members Topic Count: 117 Topics Per Day: 0.03 Content Count: 312 Reputation: 34 Joined: 10/15/12 Last Seen: Friday at 05:43 AM Share Posted August 11, 2019 So i have this npc and i need to check if the invoking player is inside ANY instance or not Quote Link to comment Share on other sites More sharing options...
1 sader1992 Posted August 12, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 11 hours ago Share Posted August 12, 2019 try if(compare(strcharinfo(3),"@")){ //inside a map that contain '@' in it's name, normally that's mean instance map!. } Quote Link to comment Share on other sites More sharing options...
1 Capuche Posted August 12, 2019 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 12, 2019 .. and search # for the maps without @ in the original name ! https://github.com/rathena/rathena/blob/fce885e81e9ef0d0b152309e8a0046f80fabe92c/src/map/map.cpp#L2731 Quote Link to comment Share on other sites More sharing options...
Question
iubantot
So i have this npc and i need to check if the invoking player is inside ANY instance or not
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.