Hello, i need help with this part of my script, how can i add one more TILESTATE with the current TILESTATE there?
I need this (TILESTATE_PROTECTIONZONE) together with (TILESTATE_NOPVPZONE)
my script part
I've tryied
and
But no results
I need this (TILESTATE_PROTECTIONZONE) together with (TILESTATE_NOPVPZONE)
my script part
Lua:
if not tile:hasFlag(TILESTATE_NOPVPZONE) then
player:sendTextMessage(MESSAGE_STATUS_SMALL, "Welcome")
I've tryied
Lua:
if not tile:hasFlag(TILESTATE_NOPVPZONE) and (TILESTATE_PROTECTIONZONE) then
player:sendTextMessage(MESSAGE_STATUS_SMALL, "Welcome")
and
Lua:
if not tile:hasFlag(TILESTATE_NOPVPZONE) or (TILESTATE_PROTECTIONZONE) then
player:sendTextMessage(MESSAGE_STATUS_SMALL, "Welcome")