• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Getting Tile Info [0.3.6] 8.60

Samaster

Raptorserver.ddns.net
Joined
Jun 9, 2013
Messages
291
Reaction score
23
Location
UK
Hi OTland,

I need a little script that gets the Tile Info that the player is standing on as Hardcore (PVPE). It's real simple but I can't see what' wrong with my script.. If someone could fix for me that would be awesome!

Code:
if (getTileInfo(getCreaturePosition(cid)).hardcore) then
        return true
    end

^ is not working

Thanks,
Sam
 
getTileInfo only has these properties.
Code:
protection, nopvp, nologout, pvp, refresh, trashed,
house, bed, depot, things, creatures, items, topItems,
downItems
 
Back
Top