Stranger Posted June 14, 2013 Share Posted June 14, 2013 السلام عليكم هذا الكود هو باب يفتح بتاب لتيم معين انا حاولت اسويها لقروب في التاب بختصار Data بس ماضبط يليت تعدلوه لاهنتم () addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( element ) if element == localPlayer then if getElementData ( element,'Group' ) == 'Console' then if isElementWithinMarker ( source, marker ) then if open then moveObject ( object, 2500, 1599, 539, 12.6 ) open = false else moveObject ( object, 2500, 1599, 539, 18.6 ) open = true end end end end end ) Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 اطرح الترايقر bindKey( "tab", "down", function ( ) triggerServerEvent ( "moveObject", localPlayer ) end ) Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( client ) ), aclGetGroup ( "Console" ) ) then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 (edited) local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( client ) ), aclGetGroup ( "Console" ) ) then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) يا برستيج انا قصدي قروب Data مو Acl وبعدين التريقر لحاله والكود لحاله Edited June 14, 2013 by Guest Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if getElementData ( client,'Group' ) == 'Console' then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 (edited) local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if getElementData ( client,'Group' ) == 'Console' then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) التريقر لحاله والكود لحاله + نسيت bindKey Edited June 14, 2013 by Guest Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if getElementData ( client,'Group' ) == 'Console' then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) التريقر لحاله والكود لحاله ماعليه يشتغل .. لو تحطة كل واحد سكربت خخخ مآيضر ذذ Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 local open = nil addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, function ( ) if getElementData ( client,'Group' ) == 'Console' then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) التريقر لحاله والكود لحاله ماعليه يشتغل .. لو تحطة كل واحد سكربت خخخ مآيضر ذذ نسيت ال bindKey Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 انت مسوية كلنت؟ الترايقر حاطه كلنت Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 عارف مابه مشكلة وش المشكلة ؟ انت مسوي بايند كي يسوي ترايقر خلاص [= ؟ Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 عارف مابه مشكلة وش المشكلة ؟ انت مسوي بايند كي يسوي ترايقر خلاص [= ؟ طيب لو ابيه لحال وهذا لحال يصير كذا ؟ local open = nil function ( ) if getElementData ( client,'Group' ) == 'Console' then if isElementWithinMarker ( client, marker ) then if not open then moveObject ( object, 2500, 1599, 539, 12.6 ) else moveObject ( object, 2500, 1599, 539, 18.6 ) end end end open = not open end ) client bindKey( "tab", "down", function ( ) triggerServerEvent ( "moveObject", localPlayer ) end ) Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 كيف تسوي ترايقر مجهول؟ ماهو موجود + اللي بالسيرفر قوس زايد + مافيه شيء يشغلها ؟ Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 كيف تسوي ترايقر مجهول؟ ماهو موجود + اللي بالسيرفر قوس زايد + مافيه شيء يشغلها ؟ اسف ما انتبهت يعني اضيف هذا addEvent ( "moveObject", true ) addEventHandler ( "moveObject", root, Link to comment
Stranger Posted June 14, 2013 Author Share Posted June 14, 2013 يب وبس ( = جرب ورد لي مشكور يلبى قلبك () اسف على الاخطاء () 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