Dieses Tor ist dass einzige in meinem Script, welches nicht aufgeht.
SQL
agate = createObject ( 980, -2215.8999023438, -80.300003051758, 37.099998474121, 0, 0, 0 )
function mv_func ( player )
if isAod(player) then
if getDistanceBetweenPoints3D ( -2215.8999023438, -80.300003051758, 37.099998474121 , getElementPosition ( player ) ) < 17 then
moveObject ( agate, 3000, -2215.8999023438, -80.300003051758, 30.1, 0, 0, 0 )
outputChatBox("Das Tor schließt sich in 10 Sekunden" ,player )
setTimer( openaod1 , 10000,1 )
end
end
end
addCommandHandler ( "mv", mv_func )
function openaod ()
moveObject( agate,2000,-2215.8999023438, -80.300003051758, 37.099998474121)
end
Alles anzeigen