As I understand it, this syntax doesn't work in Lua.
Try this:
elseif firstvis>=1 and xt == x and yt == y and zt == z then
as a last resort:
elseif firstvis>=1 and {xt,yt,zt} =={x,y,z} then
but the first one should definitely work.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________