iubantot Posted August 11, 2019 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
1 sader1992 Posted August 12, 2019 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
1 Capuche Posted August 12, 2019 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
Question
iubantot
So i have this npc and i need to check if the invoking player is inside ANY instance or not
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.