Ja[B]er[X]Pro Posted April 22, 2016 Share Posted April 22, 2016 السلام عليكم ورحمة الله وبركاته سويت لوحة سبورت لكن هناك مشكلة بكود فتح اللوحة بزر انا مسويها تفتح من حرف K لكن المشكلة ان ضغط حرف K تفتح وما تغلق مرة اخرى جربت اسويها اف5 اشتغلت %100 لكن ان رجعتها حرف K تخرب الاكواد bindKey("K","down", function() guiSetVisible(supportsystem, not guiGetVisible(supportsystem) ) showCursor( guiGetVisible(supportsystem) ) guiSetInputEnabled( guiGetVisible(supportsystem) ) if isPlayerGroupName("support") then guiSetEnabled(aMessagesForm,true) end end ) Link to comment
Mostafa MohammeD Posted April 22, 2016 Share Posted April 22, 2016 bindKey("k","down", function () guiSetVisible(supportsystem,not guiGetVisible(supportsystem)) showCursor(guiGetVisible(supportsystem)) guiSetInputEnabled(guiGetVisible(supportsystem)) if isPlayerGroupName("support") then guiSetEnabled(aMessagesForm,true) end end ) جرب لم تتم التجربة Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 bindKey("k","down", function () guiSetVisible(supportsystem,not guiGetVisible(supportsystem)) showCursor(guiGetVisible(supportsystem)) guiSetInputEnabled(guiGetVisible(supportsystem)) if isPlayerGroupName("support") then guiSetEnabled(aMessagesForm,true) end end ) جرب لم تتم التجربة ما تغيرت المشكلة Link to comment
Mostafa MohammeD Posted April 22, 2016 Share Posted April 22, 2016 bindKey("k","down", function () guiSetVisible(supportsystem, not guiGetVisible(supportsystem)) showCursor(guiSetVisible(supportsystem)) guiSetInputEnabled(guiGetVisible(supportsystem)) if isPlayerGroupName("support") then guiSetEnabled(aMessagesForm,true) end end ) شف هيك Link to comment
iMr.WiFi..! Posted April 22, 2016 Share Posted April 22, 2016 -- احذف ال usefull function -- ثم سوي تالي -- Client bindKey("k","down", function () guiSetVisible(supportsystem, not guiGetVisible(supportsystem)) showCursor(guiSetVisible(supportsystem)) guiSetInputEnabled(guiGetVisible(supportsystem)) triggerServerEvent("IsSupp", localPlayer) end ) addEvent("Yes",true) addEventHandler("Yes", root, function () guiSetEnabled(aMessagesForm,true) end ) سيرفر addEvent("isSupp",true) addEventHandler("isSupp",root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("support") ) then triggerClientEvent ( source,"Yes",source ) end end ); -- لم تتم التجربةة Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 حتى الان ما اشتغلت Link to comment
iMr.WiFi..! Posted April 22, 2016 Share Posted April 22, 2016 جرب ردي + اطرح الاكواد الكاملة /: Link to comment
#|_oskar_|# Posted April 22, 2016 Share Posted April 22, 2016 bindKey ( "k", "down", function ( ) if isPlayerGroupName("support") then guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) end end) Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 bindKey ( "k", "down", function ( ) if isPlayerGroupName("support") then guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) end end) اخي انا ما ابي اللوحة تفتح فقط للسبورت ابي اللوحة تفتح عند الكل لكن ان كان الشخص الذي فتحها سبورت يفتح له التاب الاخر Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 خلص حليتها مشكوووور اوسكار ردك اعطاني الحل للي يبي يعرف الحل bindKey ( "k", "down", function ( ) if isPlayerGroupName("support") then guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) guiSetEnabled(aMessagesForm,true) else guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) end end) Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 طلب صغير ممكن فنكشن اخفاء الاعب؟ Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 setElementAlpha شكراًً لك Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 سؤال اخر كيف اوقف الوقت بالسيرفر الوقت حق الجو Link to comment
#|_oskar_|# Posted April 22, 2016 Share Posted April 22, 2016 addEventHandler("onClientPreRender", root,function() setTime(0,0) -- الساعه setWeather (6) -- الطقس end) Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 شكراً لك سويت لوحة فيب لكن ما تفتح والدي بق ما به شيئ addCommandHandler("vip",function() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerEventClient("open",source) end end) addEvent("open",true) addEventHandler("open",root,function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end) Link to comment
Abdul KariM Posted April 22, 2016 Share Posted April 22, 2016 triggerClientEvent( source, "open",source ) Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 triggerClientEvent( source, "open",source ) جربتها ما تفتح Link to comment
#|_oskar_|# Posted April 22, 2016 Share Posted April 22, 2016 addCommandHandler("vip",function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) Link to comment
Ahmed Ly Posted April 22, 2016 Share Posted April 22, 2016 شكراً لك سويت لوحة فيب لكن ما تفتح والدي بق ما به شيئ addCommandHandler("vip",function() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerEventClient("open",source) end end) addEvent("open",true) addEventHandler("open",root,function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end) accName = ? Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 addCommandHandler("vip",function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) ما تشتغل ايضاً Link to comment
Abdul KariM Posted April 22, 2016 Share Posted April 22, 2016 addCommandHandler("vip",function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) source ماهي معرفة addCommandHandler("vip",function( source ) local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) Link to comment
Ja[B]er[X]Pro Posted April 22, 2016 Author Share Posted April 22, 2016 addCommandHandler("vip",function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) source ماهي معرفة addCommandHandler("vip",function( source ) local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) الان شغالة شكراًً لك Link to comment
Abdul KariM Posted April 22, 2016 Share Posted April 22, 2016 العفو , ولاتنسى شكر لاوسكار بعد Link to comment
Me[Z]oO Posted April 22, 2016 Share Posted April 22, 2016 لازم تعرف السورس ب addCommandHandler بملف السيرفر ^ 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