charaf12 Posted January 28, 2014 Posted January 28, 2014 السلام عليكم لاهنتو ممكن كود تهكير ابواب السجن بزر التاب تتم العملية كل 15 دقائق
EH10 Posted January 28, 2014 Posted January 28, 2014 * Server side : function doAMarker( ) marker = createMarker( x, y, z, "cylinder", 2, 255, 0, 0 ) end for _,v in ipairs( getElementsByType( "player" ) ) do bindKey( v, "Tab", "down", aBo6YeF ) end function aBo6YeF( player ) if isElementWithinMarker( player, marker ) then outputChatBox( "Done Hacker jail and Open Doors ", root, 255, 0, 0, true ) setPlayerWantedLevel( player, 5 ) moveObject( Object, 4000, x, y, z ) destroyElement( marker ) setTimer( doAMarker, 60000 * 5, 1 ) end end ) doAMarker( )
charaf12 Posted January 28, 2014 Author Posted January 28, 2014 هذا الكود بعد ما حطيت الاحداثيات function doAMarker( ) marker = createMarker( 1553.92407, -1672.71252, 548.15625, "cylinder", 2, 255, 0, 0 ) end for _,v in ipairs( getElementsByType( "player" ) ) do bindKey( v, "Tab", "down", aBo6YeF ) end function aBo6YeF( player ) if isElementWithinMarker( player, marker ) then outputChatBox( "Done Hacker jail and Open Doors ", root, 255, 0, 0, true ) setPlayerWantedLevel( player, 5 ) moveObject ( object1, 2500, 1560, -1663.3000488281, 549.79998779297 ) moveObject ( object2, 2500, 1572.5999755859, -1661.8000488281, 549.40002441406 ) moveObject ( object3, 2500, 1575.3000488281, -1656.5, 549.79998779297 ) moveObject ( object4, 2500, 1575.3000488281, -1651.8000488281, 549.79998779297 ) moveObject ( object5, 2500, 1575.3000488281, -1647, 549.79998779297 ) moveObject ( object6, 2500, 1575.3000488281, -1642.1999511719, 549.79998779297 ) moveObject ( object7, 2500, 1575.3000488281, -1637.5, 549.79998779297 ) moveObject ( object8, 2500, 1575.3000488281, -1632.3000488281, 549.79998779297 ) moveObject ( object9, 2500, 1571.9000244141, -1632.5, 550.20001220703 ) moveObject ( object10, 2500, 1559, -1635.1999511719, 549.79998779297 ) moveObject ( object11, 2500, 1559, -1640.5, 549.79998779297 ) moveObject ( object12, 2500, 1559, -1645.3000488281, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1650, 549.79998779297 ) moveObject ( object14, 2500, 1559, -1654.8000488281, 549.79998779297 ) moveObject ( object15, 2500, 1559, -1659.5, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1635.3000488281, 556.09997558594 ) moveObject ( object17, 2500, 1559.0999755859, -1640.5, 556.09997558594 ) moveObject ( object18, 2500, 1559.0999755859, -1645.3000488281, 556.09997558594 ) moveObject ( object19, 2500, 1559.0999755859, -1650, 556.09997558594 ) moveObject ( object20, 2500, 1559.0999755859, -1654.8000488281, 556.09997558594 ) moveObject ( object21, 2500, 1559.0999755859, -1659.6999511719, 556.09997558594 ) moveObject ( object22, 2500, 1559.0999755859, -1664.5999755859, 556.09997558594 ) moveObject ( object23, 2500, 1575.1999511719, -1661.5, 556.09997558594 ) moveObject ( object24, 2500, 1575.1999511719, -1656.5999755859, 556.09997558594 ) moveObject ( object25, 2500, 1575.1999511719, -1651.8000488281, 556.09997558594 ) moveObject ( object26, 2500, 1575.1999511719, -1647, 556.09997558594 ) moveObject ( object27, 2500, 1575.1999511719, -1643.8000488281, 556.09997558594 ) moveObject ( object28, 2500, 1575.1999511719, -1637.5, 556.09997558594 ) moveObject ( object29, 2500, 1575.1999511719, -1632.1999511719, 556.09997558594 ) destroyElement( marker ) setTimer( doAMarker, 60000 * 5, 1 ) end end ) لما ادخل اللعبة يقولي server3.lua:44: unexpected symbol near ')'
EH10 Posted January 28, 2014 Posted January 28, 2014 جـرب * function doAMarker( ) marker = createMarker( 1553.92407, -1672.71252, 548.15625, "cylinder", 2, 255, 0, 0 ) end for _,v in ipairs( getElementsByType( "player" ) ) do bindKey( v, "Tab", "down", aBo6YeF ) end function aBo6YeF( player ) if isElementWithinMarker( player, marker ) then outputChatBox( "Done Hacker jail and Open Doors ", root, 255, 0, 0, true ) setPlayerWantedLevel( player, 5 ) moveObject ( object1, 2500, 1560, -1663.3000488281, 549.79998779297 ) moveObject ( object2, 2500, 1572.5999755859, -1661.8000488281, 549.40002441406 ) moveObject ( object3, 2500, 1575.3000488281, -1656.5, 549.79998779297 ) moveObject ( object4, 2500, 1575.3000488281, -1651.8000488281, 549.79998779297 ) moveObject ( object5, 2500, 1575.3000488281, -1647, 549.79998779297 ) moveObject ( object6, 2500, 1575.3000488281, -1642.1999511719, 549.79998779297 ) moveObject ( object7, 2500, 1575.3000488281, -1637.5, 549.79998779297 ) moveObject ( object8, 2500, 1575.3000488281, -1632.3000488281, 549.79998779297 ) moveObject ( object9, 2500, 1571.9000244141, -1632.5, 550.20001220703 ) moveObject ( object10, 2500, 1559, -1635.1999511719, 549.79998779297 ) moveObject ( object11, 2500, 1559, -1640.5, 549.79998779297 ) moveObject ( object12, 2500, 1559, -1645.3000488281, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1650, 549.79998779297 ) moveObject ( object14, 2500, 1559, -1654.8000488281, 549.79998779297 ) moveObject ( object15, 2500, 1559, -1659.5, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1635.3000488281, 556.09997558594 ) moveObject ( object17, 2500, 1559.0999755859, -1640.5, 556.09997558594 ) moveObject ( object18, 2500, 1559.0999755859, -1645.3000488281, 556.09997558594 ) moveObject ( object19, 2500, 1559.0999755859, -1650, 556.09997558594 ) moveObject ( object20, 2500, 1559.0999755859, -1654.8000488281, 556.09997558594 ) moveObject ( object21, 2500, 1559.0999755859, -1659.6999511719, 556.09997558594 ) moveObject ( object22, 2500, 1559.0999755859, -1664.5999755859, 556.09997558594 ) moveObject ( object23, 2500, 1575.1999511719, -1661.5, 556.09997558594 ) moveObject ( object24, 2500, 1575.1999511719, -1656.5999755859, 556.09997558594 ) moveObject ( object25, 2500, 1575.1999511719, -1651.8000488281, 556.09997558594 ) moveObject ( object26, 2500, 1575.1999511719, -1647, 556.09997558594 ) moveObject ( object27, 2500, 1575.1999511719, -1643.8000488281, 556.09997558594 ) moveObject ( object28, 2500, 1575.1999511719, -1637.5, 556.09997558594 ) moveObject ( object29, 2500, 1575.1999511719, -1632.1999511719, 556.09997558594 ) destroyElement( marker ) setTimer( doAMarker, 60000 * 5, 1 ) end end ) doAMarker( )
iPrestege Posted January 28, 2014 Posted January 28, 2014 charaf12 + =[ Max UR ]= عندكم قوس زايـد سطر "44" ذذ ..
charaf12 Posted January 28, 2014 Author Posted January 28, 2014 اذا حذفتو يقولي Bad 'function' pointer @ 'bindKey'(4) لاهنت صلح الكود
iPrestege Posted January 28, 2014 Posted January 28, 2014 اطرح كودك كامل بعد التعديل بدون حذف او تغيير .
EH10 Posted January 28, 2014 Posted January 28, 2014 فـنـكـشـآت * createMarker isElementWithinMarker bindKey setTimer destroyElement moveObject outputChatBox setPlayerWantedLevel # . !
charaf12 Posted January 28, 2014 Author Posted January 28, 2014 function doAMarker( ) marker = createMarker( x, y, z, "cylinder", 2, 255, 0, 0 ) end for _,v in ipairs( getElementsByType( "player" ) ) do bindKey( v, "Tab", "down", aBo6YeF ) end function aBo6YeF( player ) if isElementWithinMarker( player, marker ) then outputChatBox( "Done Hacker jail and Open Doors ", root, 255, 0, 0, true ) setPlayerWantedLevel( player, 5 ) moveObject ( object1, 2500, 1560, -1663.3000488281, 549.79998779297 ) moveObject ( object2, 2500, 1572.5999755859, -1661.8000488281, 549.40002441406 ) moveObject ( object3, 2500, 1575.3000488281, -1656.5, 549.79998779297 ) moveObject ( object4, 2500, 1575.3000488281, -1651.8000488281, 549.79998779297 ) moveObject ( object5, 2500, 1575.3000488281, -1647, 549.79998779297 ) moveObject ( object6, 2500, 1575.3000488281, -1642.1999511719, 549.79998779297 ) moveObject ( object7, 2500, 1575.3000488281, -1637.5, 549.79998779297 ) moveObject ( object8, 2500, 1575.3000488281, -1632.3000488281, 549.79998779297 ) moveObject ( object9, 2500, 1571.9000244141, -1632.5, 550.20001220703 ) moveObject ( object10, 2500, 1559, -1635.1999511719, 549.79998779297 ) moveObject ( object11, 2500, 1559, -1640.5, 549.79998779297 ) moveObject ( object12, 2500, 1559, -1645.3000488281, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1650, 549.79998779297 ) moveObject ( object14, 2500, 1559, -1654.8000488281, 549.79998779297 ) moveObject ( object15, 2500, 1559, -1659.5, 549.79998779297 ) moveObject ( object13, 2500, 1559.0999755859, -1635.3000488281, 556.09997558594 ) moveObject ( object17, 2500, 1559.0999755859, -1640.5, 556.09997558594 ) moveObject ( object18, 2500, 1559.0999755859, -1645.3000488281, 556.09997558594 ) moveObject ( object19, 2500, 1559.0999755859, -1650, 556.09997558594 ) moveObject ( object20, 2500, 1559.0999755859, -1654.8000488281, 556.09997558594 ) moveObject ( object21, 2500, 1559.0999755859, -1659.6999511719, 556.09997558594 ) moveObject ( object22, 2500, 1559.0999755859, -1664.5999755859, 556.09997558594 ) moveObject ( object23, 2500, 1575.1999511719, -1661.5, 556.09997558594 ) moveObject ( object24, 2500, 1575.1999511719, -1656.5999755859, 556.09997558594 ) moveObject ( object25, 2500, 1575.1999511719, -1651.8000488281, 556.09997558594 ) moveObject ( object26, 2500, 1575.1999511719, -1647, 556.09997558594 ) moveObject ( object27, 2500, 1575.1999511719, -1643.8000488281, 556.09997558594 ) moveObject ( object28, 2500, 1575.1999511719, -1637.5, 556.09997558594 ) moveObject ( object29, 2500, 1575.1999511719, -1632.1999511719, 556.09997558594 ) destroyElement( marker ) setTimer( doAMarker, 60000 * 5, 1 ) end end ) doAMarker( )
charaf12 Posted January 28, 2014 Author Posted January 28, 2014 ما ضبط لاهنتو ممكن تصيحيح او كود ثاني هذا ما ضبط
EH10 Posted January 28, 2014 Posted January 28, 2014 جـرب * function mrkr() local marker = createMarker( x, y, z, 'cylinder', 1.5, 255, 255, 0, 160 ) end) function beys () if isElementWithinMarker(source, marker) then outputChatBox( 'Done Hacker Jail', root, 255, 255, 0, true ) setPlayerWantedLevel( source, 6 ) destroyElement ( marker ) setTimer( mrkr, 95000, 1 ) end end bindKey( source, 'Tab', 'down', beys )
فاّرس Posted January 28, 2014 Posted January 28, 2014 ما يبي لها ذكاء, سوي الاوبجكت حق البوابه الي تبي تحركها ,, local object = createObject(model,x,y,z) object = المتغير حق البوابه الاولى , لو عندك اكثر من بوابه لازم تغير المتغير عشان ما تكون متشابهه model = اي دي البوابه x,y,z = احداثيات البوابه
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