LucasFerraz
Systems Analyst
Rep++ to Jetro.
Tested in rev3777.
Tested in rev3777.
Lua:local floors = {5405, 5406, 5407, 5408, 5409, 5410, 5743, 5744, 5764, 9671, 9672, 9673} function isUnderWater(cid) return isCreature(cid) and isInArray(floors, getTileInfo(getThingPos(cid)).itemid) end