Hey, habe vorhin ein Gate gescriptet nun: Das Gate kommt, aber geht wie ich es jetzt aufmache, kann ich net sagen *?(*
Lua
tor = createObject(980 ,-2993.6000976563,470.89999389648,6.6999998092651,0,0,90)
torstatus = "zu"
function opentor ( player )
if torstatus == 'zu' then
moveObject(tor , 2000,-2993.6000976563,470.89999389648,6.6999998092651)
torstatus = 'auf'
else
moveObject(tor,2000,-2993.6000976563,470.89999389648,1.2000000476837,0,0,90)
torstatus = 'zu'
end
end
addCommandHandler('tor',opentor)
Alles anzeigen