Originally Posted by Mitsarugi
I'm adding some functions to NPCReticleScan so that it will print some extra info to the Sv file
and i would like it to add if an npc is in a building/dungeon or not so what i'd like to know is how can i check if the player is in a building/dungeon?
|
Lua Code:
if GetMapContentType() == MAP_CONTENT_DUNGEON then
--some code
end
Works only for dungeons.