Wo ist hier der Fehler hilft mir bittte :
tor = createObject( 980, 2768.8000488281,3999023438,114.90000152588,4.998779296875,0,0)
tors = "zu"
function opentor ( player )
local pname = getPlayerName ( player )
if pname == "" or pname == "" == then
if tors == "zu" then
moveObject( 1000,tor , 2768.7998046875,3396.3999023438,114.90000152588 )
tors = "auf" then
elseif tors == "auf"
moveObject( 1000,tor , 2768.7998046875,3396.3999023438,108.90000152588 )
tors = "zu" then
end
end
end
addCommandHandler("" , opentor )