Lua
BlooDz3LiftMoving = falseBlooDz3LiftMoved = falseBlooDz3LiftMovetime = 5000BlooDz3Lift = createObject ( 3095, 975.69921875, -2164.19921875, 20.89999961853, 0, 179.99450683594, 179.99450683594 )
function BlooDz3Lift_func ( player )
if isBlooDz(player) then if not BlooDz3LiftMoving then if BlooDz3LiftMoved == false then moveObject ( BlooDz3Lift, BlooDz3LiftMovetime, 975.69921875, -2164.19921875, 12.10000038147, 0, 0, 0 ) setTimer ( triggerBlooDz3LiftVarb, BlooDz3LiftMovetime, 1 ) BlooDz3LiftMoved = true else moveObject ( BlooDz3Lift, BlooDz3LiftMovetime, 975.69921875, -2164.19921875, 20.89999961853, 0, 0, 0 ) setTimer ( triggerBlooDz3LiftVarb, BlooDz3LiftMovetime, 1 ) BlooDz3LiftMoved = false end BlooDz3LiftMoving = true end else outputChatBox ( "Du bist kein BlooDz Member!", player, 125, 0, 0 ) endendaddCommandHandler ( "bm", BlooDz3Lift_func )
function triggerBlooDz3LiftVarb ()
BlooDz3LiftMoving = falseend-------------- ein lift zusammen
BlooDz4LiftMoving = falseBlooDz4LiftMoved = falseBlooDz4LiftMovetime = 5000BlooDz4Lift = createObject ( 3095, 975.69921875, -2155.3994140625, 20.89999961853, 0, 180, 179.99456787109 )
function BlooDz4Lift_func ( player )
if isBlooDz(player) then if not BlooDz4LiftMoving then if BlooDz4LiftMoved == false then moveObject ( BlooDz4Lift, BlooDz4LiftMovetime, 975.69921875, -2155.3994140625, 12.10000038147, 0, 0, 0 ) setTimer ( triggerBlooDz4LiftVarb, BlooDz4LiftMovetime, 1 ) BlooDz1LiftMoved = true else moveObject ( BlooDz4Lift, BlooDz4LiftMovetime, 975.69921875, -2155.3994140625, 20.89999961853, 0, 0, 0 ) setTimer ( triggerBlooDz4LiftVarb, BlooDz4LiftMovetime, 1 ) BlooDz4LiftMoved = false end BlooDz4LiftMoving = true end endendaddCommandHandler ( "bm", BlooDz4Lift_func )
function triggerBlooDz4LiftVarb ()
BlooDz4LiftMoving = falseend
ich bekomme es nicht hin sie gehen beide zusammen runter und dann geht nur noch einer hoch kann mir einer helfen