charaf12 Posted January 27, 2014 Share Posted January 27, 2014 ابي كود البوابة تفتح بزر تاب لتيم الشرطة و تخص اكثر من ابجكت واحد Link to comment
Mando Posted January 27, 2014 Share Posted January 27, 2014 اخوي الكود حق ساحر ksa يمكن تستفيد منه ^ object1 = createObject ( 2930, 1560, -1664.9000244141, 549.79998779297 ) marker1 = createMarker ( 1560, -1664.9000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object2 = createObject ( 971, 1564.5999755859, -1661.8000488281, 549.40002441406 ) marker2 = createMarker ( 1564.5999755859, -1661.8000488281, 549.40002441406, 'cylinder', 3.5, 0, 0, 0, 0 ) object3 = createObject ( 2930, 1575.3000488281, -1658, 549.79998779297 ) marker3 = createMarker ( 1575.3000488281, -1658, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object4 = createObject ( 2930, 1575.3000488281, -1653.3000488281, 549.79998779297 ) marker4 = createMarker ( 1575.3000488281, -1653.3000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object5 = createObject ( 2930, 1575.3000488281, -1648.5, 549.79998779297 ) marker5 = createMarker ( 1575.3000488281, -1648.5, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object6 = createObject ( 2930, 1575.3000488281, -1643.8000488281, 549.79998779297) marker6 = createMarker ( 1575.3000488281, -1643.8000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object7 = createObject ( 2930, 1575.3000488281, -1639, 549.79998779297) marker7 = createMarker ( 1575.3000488281, -1639, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object8 = createObject ( 2930, 1575.3000488281, -1633.8000488281, 549.79998779297) marker8 = createMarker ( 1575.3000488281, -1633.8000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object9 = createObject ( 971, 1569.099609375, -1632.5, 550.20001220703 ) marker9 = createMarker ( 1569.099609375, -1632.5, 550.20001220703, 'cylinder', 3.5, 0, 0, 0, 0 ) object10 = createObject ( 2930, 1559.099609375, -1633.69921875, 549.79998779297 ) marker10 = createMarker ( 1559.099609375, -1633.69921875, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object11 = createObject ( 2930, 1559, -1638.9000244141, 549.79998779297 ) marker11 = createMarker ( 1559, -1638.9000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object12 = createObject ( 2930, 1559, -1643.6999511719, 549.79998779297 ) marker12 = createMarker ( 1559, -1643.6999511719, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object13 = createObject ( 2930, 1559.0999755859, -1648.4000244141, 549.79998779297 ) marker13 = createMarker ( 1559.0999755859, -1648.4000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object14 = createObject ( 2930, 1559, -1653.1999511719, 549.79998779297 ) marker14 = createMarker ( 1559, -1653.1999511719, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object15 = createObject ( 2930, 1559, -1658, 549.79998779297 ) marker15 = createMarker ( 1559, -1658, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object16 = createObject ( 2930, 1559.0999755859, -1633.6999511719, 556.09997558594 ) marker16 = createMarker ( 1559.0999755859, -1633.6999511719, 'cylinder', 3.5, 0, 0, 0, 0 ) object17 = createObject ( 2930, 1559.0999755859, -1638.9000244141, 556.09997558594 ) marker17 = createMarker ( 1559.0999755859, -1638.9000244141, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object18 = createObject ( 2930, 1559, -1643.6999511719, 556.09997558594 ) marker18 = createMarker ( 1559, -1643.6999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object19 = createObject ( 2930, 1559.0999755859, -1648.4000244141, 556.09997558594 ) marker19 = createMarker ( 1559.0999755859, -1648.4000244141, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object20 = createObject ( 2930, 1559.0999755859, -1653.1999511719, 556.09997558594 ) marker20 = createMarker ( 1559.0999755859, -1653.1999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object21 = createObject ( 2930, 1559.0999755859, -1658.0999755859, 556.09997558594 ) marker21 = createMarker ( 1559.0999755859, -1658.0999755859, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object22 = createObject ( 2930, 1559.0999755859, -1663, 556.09997558594 ) marker22 = createMarker ( 1559.0999755859, -1663, 556.0999755859, 'cylinder', 3.5, 0, 0, 0, 0 ) object23 = createObject ( 2930, 1575.3000488281, -1663.0999755859, 556.09997558594 ) marker23 = createMarker ( 1575.3000488281, -1663.0999755859, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object24 = createObject ( 2930, 1575.1999511719, -1658.1999511719, 556.09997558594 ) marker24 = createMarker ( 1575.1999511719, -1658.1999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object25 = createObject ( 2930, 1575.1999511719, -1653.3000488281, 556.09997558594 ) marker25 = createMarker ( 1575.1999511719, -1653.3000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object26 = createObject ( 2930, 1575.1999511719, -1648.5, 556.09997558594 ) marker26 = createMarker ( 1575.1999511719, -1648.5, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object27 = createObject ( 2930, 1575.1999511719, -1643.8000488281, 556.09997558594 ) marker27 = createMarker ( 1575.1999511719, -1643.8000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object28 = createObject ( 2930, 1575.1999511719, -1639, 556.09997558594 ) marker28 = createMarker ( 1575.1999511719, -1639, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object29 = createObject ( 2930, 1575.1999511719, -1633.8000488281, 556.09997558594 ) marker29 = createMarker ( 1575.1999511719, -1633.8000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) i1 = false i2 = false i3 = false i4 = false i5 = false i6 = false i7 = false i8 = false i9 = false i10 = false i11 = false i12 = false i13 = false i14 = false i15 = false i16 = false i17 = false i18 = false i19 = false i20 = false i21 = false i22 = false i23 = false i24 = false i25 = false i26 = false i27 = false i28 = false i29 = false function AlBab ( plr_ ) local player = plr_ or source local playerTeam = getPlayerTeam ( player ) local policeTeam = getTeamFromName ( "Police" ) if playerTeam and policeTeam then if playerTeam == policeTeam then if isElementWithinMarker ( player, marker1 ) then if i1 then moveObject ( object1, 2500, 1560, -1663.3000488281, 549.79998779297 ) i1 = false else moveObject ( object1, 1500, 1560, -1664.9000244141, 549.79998779297 ) i1 = true end elseif isElementWithinMarker ( player, marker2 ) then if i2 then moveObject ( object2, 2500, 1572.5999755859, -1661.8000488281, 549.40002441406 ) i2 = false else moveObject ( object2, 1500, 1564.5999755859, -1661.8000488281, 549.40002441406 ) i2 = true end elseif isElementWithinMarker ( player, marker3 ) then if i3 then moveObject ( object3, 2500, 1575.3000488281, -1656.5, 549.79998779297 ) i3 = false else moveObject ( object3, 1500, 1575.3000488281, -1658, 549.79998779297 ) i3 = true end elseif isElementWithinMarker ( player, marker4 ) then if i4 then moveObject ( object4, 2500, 1575.3000488281, -1651.8000488281, 549.79998779297 ) i4 = false else moveObject ( object4, 1500, 1575.3000488281, -1653.3000488281, 549.79998779297 ) i4 = true end elseif isElementWithinMarker ( player, marker5 ) then if i5 then moveObject ( object5, 2500, 1575.3000488281, -1647, 549.79998779297 ) i5 = false else moveObject ( object5, 1500, 1575.3000488281, -1648.5, 549.79998779297 ) i5 = true end elseif isElementWithinMarker ( player, marker6 ) then if i6 then moveObject ( object6, 2500, 1575.3000488281, -1642.1999511719, 549.79998779297 ) i6 = false else moveObject ( object6, 1500, 1575.3000488281, -1643.8000488281, 549.79998779297 ) i6 = true end elseif isElementWithinMarker ( player, marker7 ) then if i7 then moveObject ( object7, 2500, 1575.3000488281, -1637.5, 549.79998779297 ) i7 = false else moveObject ( object7, 1500, 1575.3000488281, -1639, 549.79998779297 ) i7 = true end elseif isElementWithinMarker ( player, marker8 ) then if i8 then moveObject ( object8, 2500, 1575.3000488281, -1632.3000488281, 549.79998779297 ) i8 = false else moveObject ( object8, 1500, 1575.3000488281, -1633.8000488281, 549.79998779297 ) i8 = true end elseif isElementWithinMarker ( player, marker9 ) then if i9 then moveObject ( object9, 2500, 1571.9000244141, -1632.5, 550.20001220703 ) i9 = false else moveObject ( object9, 1500, 1569.099609375, -1632.5, 550.20001220703 ) i9 = true end elseif isElementWithinMarker ( player, marker10 ) then if i10 then moveObject ( object10, 2500, 1559, -1635.1999511719, 549.79998779297 ) i10 = false else moveObject ( object10, 1500, 1559.099609375, -1633.69921875, 549.79998779297 ) i10 = true end elseif isElementWithinMarker ( player, marker11 ) then if i11 then moveObject ( object11, 2500, 1559, -1640.5, 549.79998779297 ) i11 = false else moveObject ( object11, 1500, 1559, -1638.9000244141, 549.79998779297 ) i11 = true end elseif isElementWithinMarker ( player, marker12 ) then if i12 then moveObject ( object12, 2500, 1559, -1645.3000488281, 549.79998779297 ) i12 = false else moveObject ( object12, 1500, 1559, -1643.6999511719, 549.79998779297 ) i12 = true end elseif isElementWithinMarker ( player, marker13 ) then if i13 then moveObject ( object13, 2500, 1559.0999755859, -1650, 549.79998779297 ) i13 = false else moveObject ( object13, 1500, 1559.0999755859, -1648.4000244141, 549.79998779297 ) i13 = true end elseif isElementWithinMarker ( player, marker14 ) then if i14 then moveObject ( object14, 2500, 1559, -1654.8000488281, 549.79998779297 ) i14 = false else moveObject ( object14, 1500, 1559, -1653.1999511719, 549.79998779297 ) i14 = true end elseif isElementWithinMarker ( player, marker15 ) then if i15 then moveObject ( object15, 2500, 1559, -1659.5, 549.79998779297 ) i15 = false else moveObject ( object15, 1500, 1559, -1658, 549.79998779297 ) i15 = true end elseif isElementWithinMarker ( player, marker16 ) then if i16 then moveObject ( object16, 2500, 1559.0999755859, -1635.3000488281, 556.09997558594 ) i16 = false else moveObject ( object16, 1500, 1559.0999755859, -1633.6999511719, 556.09997558594 ) i16 = true end elseif isElementWithinMarker ( player, marker17 ) then if i17 then moveObject ( object17, 2500, 1559.0999755859, -1640.5, 556.09997558594 ) i17 = false else moveObject ( object17, 1500, 1559.0999755859, -1638.9000244141, 556.09997558594 ) i17 = true end elseif isElementWithinMarker ( player, marker18 ) then if i18 then moveObject ( object18, 2500, 1559.0999755859, -1645.3000488281, 556.09997558594 ) i18 = false else moveObject ( object18, 1500, 1559, -1643.6999511719, 556.09997558594 ) i18 = true end elseif isElementWithinMarker ( player, marker19 ) then if i19 then moveObject ( object19, 2500, 1559.0999755859, -1650, 556.09997558594 ) i19 = false else moveObject ( object19, 1500, 1559.0999755859, -1648.4000244141, 556.09997558594 ) i19 = true end elseif isElementWithinMarker ( player, marker20 ) then if i20 then moveObject ( object20, 2500, 1559.0999755859, -1654.8000488281, 556.09997558594 ) i20 = false Link to comment
iPrestege Posted January 27, 2014 Share Posted January 27, 2014 اخوي الكود حق ساحر ksaيمكن تستفيد منه ^ object1 = createObject ( 2930, 1560, -1664.9000244141, 549.79998779297 ) marker1 = createMarker ( 1560, -1664.9000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object2 = createObject ( 971, 1564.5999755859, -1661.8000488281, 549.40002441406 ) marker2 = createMarker ( 1564.5999755859, -1661.8000488281, 549.40002441406, 'cylinder', 3.5, 0, 0, 0, 0 ) object3 = createObject ( 2930, 1575.3000488281, -1658, 549.79998779297 ) marker3 = createMarker ( 1575.3000488281, -1658, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object4 = createObject ( 2930, 1575.3000488281, -1653.3000488281, 549.79998779297 ) marker4 = createMarker ( 1575.3000488281, -1653.3000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object5 = createObject ( 2930, 1575.3000488281, -1648.5, 549.79998779297 ) marker5 = createMarker ( 1575.3000488281, -1648.5, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object6 = createObject ( 2930, 1575.3000488281, -1643.8000488281, 549.79998779297) marker6 = createMarker ( 1575.3000488281, -1643.8000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object7 = createObject ( 2930, 1575.3000488281, -1639, 549.79998779297) marker7 = createMarker ( 1575.3000488281, -1639, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object8 = createObject ( 2930, 1575.3000488281, -1633.8000488281, 549.79998779297) marker8 = createMarker ( 1575.3000488281, -1633.8000488281, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object9 = createObject ( 971, 1569.099609375, -1632.5, 550.20001220703 ) marker9 = createMarker ( 1569.099609375, -1632.5, 550.20001220703, 'cylinder', 3.5, 0, 0, 0, 0 ) object10 = createObject ( 2930, 1559.099609375, -1633.69921875, 549.79998779297 ) marker10 = createMarker ( 1559.099609375, -1633.69921875, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object11 = createObject ( 2930, 1559, -1638.9000244141, 549.79998779297 ) marker11 = createMarker ( 1559, -1638.9000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object12 = createObject ( 2930, 1559, -1643.6999511719, 549.79998779297 ) marker12 = createMarker ( 1559, -1643.6999511719, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object13 = createObject ( 2930, 1559.0999755859, -1648.4000244141, 549.79998779297 ) marker13 = createMarker ( 1559.0999755859, -1648.4000244141, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object14 = createObject ( 2930, 1559, -1653.1999511719, 549.79998779297 ) marker14 = createMarker ( 1559, -1653.1999511719, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object15 = createObject ( 2930, 1559, -1658, 549.79998779297 ) marker15 = createMarker ( 1559, -1658, 549.79998779297, 'cylinder', 3.5, 0, 0, 0, 0 ) object16 = createObject ( 2930, 1559.0999755859, -1633.6999511719, 556.09997558594 ) marker16 = createMarker ( 1559.0999755859, -1633.6999511719, 'cylinder', 3.5, 0, 0, 0, 0 ) object17 = createObject ( 2930, 1559.0999755859, -1638.9000244141, 556.09997558594 ) marker17 = createMarker ( 1559.0999755859, -1638.9000244141, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object18 = createObject ( 2930, 1559, -1643.6999511719, 556.09997558594 ) marker18 = createMarker ( 1559, -1643.6999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object19 = createObject ( 2930, 1559.0999755859, -1648.4000244141, 556.09997558594 ) marker19 = createMarker ( 1559.0999755859, -1648.4000244141, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object20 = createObject ( 2930, 1559.0999755859, -1653.1999511719, 556.09997558594 ) marker20 = createMarker ( 1559.0999755859, -1653.1999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object21 = createObject ( 2930, 1559.0999755859, -1658.0999755859, 556.09997558594 ) marker21 = createMarker ( 1559.0999755859, -1658.0999755859, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object22 = createObject ( 2930, 1559.0999755859, -1663, 556.09997558594 ) marker22 = createMarker ( 1559.0999755859, -1663, 556.0999755859, 'cylinder', 3.5, 0, 0, 0, 0 ) object23 = createObject ( 2930, 1575.3000488281, -1663.0999755859, 556.09997558594 ) marker23 = createMarker ( 1575.3000488281, -1663.0999755859, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object24 = createObject ( 2930, 1575.1999511719, -1658.1999511719, 556.09997558594 ) marker24 = createMarker ( 1575.1999511719, -1658.1999511719, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object25 = createObject ( 2930, 1575.1999511719, -1653.3000488281, 556.09997558594 ) marker25 = createMarker ( 1575.1999511719, -1653.3000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object26 = createObject ( 2930, 1575.1999511719, -1648.5, 556.09997558594 ) marker26 = createMarker ( 1575.1999511719, -1648.5, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object27 = createObject ( 2930, 1575.1999511719, -1643.8000488281, 556.09997558594 ) marker27 = createMarker ( 1575.1999511719, -1643.8000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object28 = createObject ( 2930, 1575.1999511719, -1639, 556.09997558594 ) marker28 = createMarker ( 1575.1999511719, -1639, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) object29 = createObject ( 2930, 1575.1999511719, -1633.8000488281, 556.09997558594 ) marker29 = createMarker ( 1575.1999511719, -1633.8000488281, 556.09997558594, 'cylinder', 3.5, 0, 0, 0, 0 ) i1 = false i2 = false i3 = false i4 = false i5 = false i6 = false i7 = false i8 = false i9 = false i10 = false i11 = false i12 = false i13 = false i14 = false i15 = false i16 = false i17 = false i18 = false i19 = false i20 = false i21 = false i22 = false i23 = false i24 = false i25 = false i26 = false i27 = false i28 = false i29 = false function AlBab ( plr_ ) local player = plr_ or source local playerTeam = getPlayerTeam ( player ) local policeTeam = getTeamFromName ( "Police" ) if playerTeam and policeTeam then if playerTeam == policeTeam then if isElementWithinMarker ( player, marker1 ) then if i1 then moveObject ( object1, 2500, 1560, -1663.3000488281, 549.79998779297 ) i1 = false else moveObject ( object1, 1500, 1560, -1664.9000244141, 549.79998779297 ) i1 = true end elseif isElementWithinMarker ( player, marker2 ) then if i2 then moveObject ( object2, 2500, 1572.5999755859, -1661.8000488281, 549.40002441406 ) i2 = false else moveObject ( object2, 1500, 1564.5999755859, -1661.8000488281, 549.40002441406 ) i2 = true end elseif isElementWithinMarker ( player, marker3 ) then if i3 then moveObject ( object3, 2500, 1575.3000488281, -1656.5, 549.79998779297 ) i3 = false else moveObject ( object3, 1500, 1575.3000488281, -1658, 549.79998779297 ) i3 = true end elseif isElementWithinMarker ( player, marker4 ) then if i4 then moveObject ( object4, 2500, 1575.3000488281, -1651.8000488281, 549.79998779297 ) i4 = false else moveObject ( object4, 1500, 1575.3000488281, -1653.3000488281, 549.79998779297 ) i4 = true end elseif isElementWithinMarker ( player, marker5 ) then if i5 then moveObject ( object5, 2500, 1575.3000488281, -1647, 549.79998779297 ) i5 = false else moveObject ( object5, 1500, 1575.3000488281, -1648.5, 549.79998779297 ) i5 = true end elseif isElementWithinMarker ( player, marker6 ) then if i6 then moveObject ( object6, 2500, 1575.3000488281, -1642.1999511719, 549.79998779297 ) i6 = false else moveObject ( object6, 1500, 1575.3000488281, -1643.8000488281, 549.79998779297 ) i6 = true end elseif isElementWithinMarker ( player, marker7 ) then if i7 then moveObject ( object7, 2500, 1575.3000488281, -1637.5, 549.79998779297 ) i7 = false else moveObject ( object7, 1500, 1575.3000488281, -1639, 549.79998779297 ) i7 = true end elseif isElementWithinMarker ( player, marker8 ) then if i8 then moveObject ( object8, 2500, 1575.3000488281, -1632.3000488281, 549.79998779297 ) i8 = false else moveObject ( object8, 1500, 1575.3000488281, -1633.8000488281, 549.79998779297 ) i8 = true end elseif isElementWithinMarker ( player, marker9 ) then if i9 then moveObject ( object9, 2500, 1571.9000244141, -1632.5, 550.20001220703 ) i9 = false else moveObject ( object9, 1500, 1569.099609375, -1632.5, 550.20001220703 ) i9 = true end elseif isElementWithinMarker ( player, marker10 ) then if i10 then moveObject ( object10, 2500, 1559, -1635.1999511719, 549.79998779297 ) i10 = false else moveObject ( object10, 1500, 1559.099609375, -1633.69921875, 549.79998779297 ) i10 = true end elseif isElementWithinMarker ( player, marker11 ) then if i11 then moveObject ( object11, 2500, 1559, -1640.5, 549.79998779297 ) i11 = false else moveObject ( object11, 1500, 1559, -1638.9000244141, 549.79998779297 ) i11 = true end elseif isElementWithinMarker ( player, marker12 ) then if i12 then moveObject ( object12, 2500, 1559, -1645.3000488281, 549.79998779297 ) i12 = false else moveObject ( object12, 1500, 1559, -1643.6999511719, 549.79998779297 ) i12 = true end elseif isElementWithinMarker ( player, marker13 ) then if i13 then moveObject ( object13, 2500, 1559.0999755859, -1650, 549.79998779297 ) i13 = false else moveObject ( object13, 1500, 1559.0999755859, -1648.4000244141, 549.79998779297 ) i13 = true end elseif isElementWithinMarker ( player, marker14 ) then if i14 then moveObject ( object14, 2500, 1559, -1654.8000488281, 549.79998779297 ) i14 = false else moveObject ( object14, 1500, 1559, -1653.1999511719, 549.79998779297 ) i14 = true end elseif isElementWithinMarker ( player, marker15 ) then if i15 then moveObject ( object15, 2500, 1559, -1659.5, 549.79998779297 ) i15 = false else moveObject ( object15, 1500, 1559, -1658, 549.79998779297 ) i15 = true end elseif isElementWithinMarker ( player, marker16 ) then if i16 then moveObject ( object16, 2500, 1559.0999755859, -1635.3000488281, 556.09997558594 ) i16 = false else moveObject ( object16, 1500, 1559.0999755859, -1633.6999511719, 556.09997558594 ) i16 = true end elseif isElementWithinMarker ( player, marker17 ) then if i17 then moveObject ( object17, 2500, 1559.0999755859, -1640.5, 556.09997558594 ) i17 = false else moveObject ( object17, 1500, 1559.0999755859, -1638.9000244141, 556.09997558594 ) i17 = true end elseif isElementWithinMarker ( player, marker18 ) then if i18 then moveObject ( object18, 2500, 1559.0999755859, -1645.3000488281, 556.09997558594 ) i18 = false else moveObject ( object18, 1500, 1559, -1643.6999511719, 556.09997558594 ) i18 = true end elseif isElementWithinMarker ( player, marker19 ) then if i19 then moveObject ( object19, 2500, 1559.0999755859, -1650, 556.09997558594 ) i19 = false else moveObject ( object19, 1500, 1559.0999755859, -1648.4000244141, 556.09997558594 ) i19 = true end elseif isElementWithinMarker ( player, marker20 ) then if i20 then Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now