Do_De<3 Posted February 2, 2014 Share Posted February 2, 2014 خلاص مشكوورر سويتهاااتسلم ربي يسسلمكك : ) Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 اتااسف لك مكان الي سبك سامحني وسامحه Link to comment
Do_De<3 Posted February 2, 2014 Share Posted February 2, 2014 اتااسف لك مكان الي سبك سامحني وسامحه وش رآيكك نقللبهآ دردشة ض2 لا ماعليكك متعودين : ) Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 (edited) الوووووووووووووووووووووووووووو شف الصفحة 3 ابي كوود يفتح لوحة من اف 8 اخر طلب تكفىى Edited February 2, 2014 by Guest Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 اخرر طلببب ابي كود فتح اللوحة من اف8 Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 (edited) bindKey ( "F1", "down", function ( ) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end ) Edited February 2, 2014 by Guest Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 bindKey guiSetVisible وش اسوي في ذا ابي كوود كامل جاهز لوسمحت Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 bindKey guiSetVisible وش اسوي في ذا ابي كوود كامل جاهز لوسمحت تم Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 وش الي تم شوف التعديل له Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 لا ابيه اذا كتب مثلا شرطي في اف 8 يفتح له لوحة الشرطو + ابيه لقروب الشرطة والزائر ولاناس الثانية يقول لهم ليش لديك صلاحية Link to comment
Do_De<3 Posted February 2, 2014 Share Posted February 2, 2014 اخرر طلبببابي كود فتح اللوحة من اف8 function OpenWnd () guiSetVisible (GUIEditor_Window[1], true) < اسم النافذه showCursor ( true ) end addCommandHandler ( "open", OpenWnd ) Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 اخرر طلبببابي كود فتح اللوحة من اف8 function OpenWnd () guiSetVisible (GUIEditor_Window[1], true) < اسم النافذه showCursor ( true ) end addCommandHandler ( "open", OpenWnd ) لا ابيه اذا كتب مثلا شرطي في اف 8 يفتح له لوحة الشرطو + ابيه لقروب الشرطة والزائر ولاناس الثانية يقول لهم ليش لديك صلاحية Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 (edited) function open () local pTeam = getPlayerTeam ( source ) if getTeamName ( pTeam ) == "اسم التيم" then guiSetVisible ( اسم النافذة, not guiSetVisible ( اسم النافذة ) ) showCursor ( true ) else outputChatBox ( "You do not have permission!", 255, 0, 0 ) end end addCommandHandler ( "الكلمة الا تبغي تفتح بها", open ) Edited February 2, 2014 by Guest Link to comment
Do_De<3 Posted February 2, 2014 Share Posted February 2, 2014 Client addEvent("open",true) addEventHandler("open",root, function () guiSetVisible (GUIEditor_Window[1], true) < اسم النافذه showCursor(true) end ) addCommandHandler("op", function () triggerServerEvent ( "enksar", localPlayer) end ) Server addEvent("enksar",true) addEventHandler("enksar",root, function() local acc=getPlayerAccount(client) if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Police"))) then triggerClientEvent(client,"open",client) end end ) جرب : ) Link to comment
Do_De<3 Posted February 2, 2014 Share Posted February 2, 2014 function open () local pTeam = getPlayerTeam ( source ) if getTeamName ( pTeam ) == "اسم التيم" then guiSetVisible ( اسم النافذة, not guiSetVisible ( اسم النافذة ) ) showCursor ( true ) else outputChatBox ( "You do not have permission!", 255, 0, 0 ) end end addCommandHandler ( "الكلمة الا تبغي تفتح بها", open ) خطآء : ) Link to comment
☠ RaZeR ☠ Posted February 2, 2014 Author Share Posted February 2, 2014 كفوووو والله كفيتو وفييتوو Link to comment
K1NG Posted February 2, 2014 Share Posted February 2, 2014 Client addEvent("open",true) addEventHandler("open",root, function () guiSetVisible (GUIEditor_Window[1], true) < اسم النافذه showCursor(true) end ) addCommandHandler("op", function () triggerServerEvent ( "enksar", localPlayer) end ) Server addEvent("enksar",true) addEventHandler("enksar",root, function() local acc=getPlayerAccount(client) if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Police"))) then triggerClientEvent(client,"open",client) end end ) جرب : ) .. بجانب سيرفر ثم ترسل تريقر للكلاينت على طول، بدال ماترسل من كلاينت لسيرفر ثم من سيرفر لكلاينت 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