• 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 getTileInfo

FallenOTs

Member
Joined
Jul 14, 2013
Messages
45
Reaction score
11
Hi guys, i need something that makes it so if getTileInfo(getThingPos(cid)) Is not pvp tile then but i can't seem to figure out this code. i've tried if not getTileInfo(getThingPos(cid)).pvp and it doesn't work..
 
Code:
getTileInfo(getThingPos(cid)).optional
Try looking in your source you will find more

Code:
    setFieldBool(L, "optional", tile->hasFlag(TILESTATE_OPTIONALZONE));
     setFieldBool(L, "hardcore", tile->hasFlag(TILESTATE_HARDCOREZONE));
     setFieldBool(L, "noLogout", tile->hasFlag(TILESTATE_NOLOGOUT));

Taken from a 0.3.7 5916
 
Back
Top