baba Posted February 7, 2015 Posted February 7, 2015 سلام عليكم شباب انا اخوكم احمد من العراق انا جديد في البرمجه حقت الوحات ابي سكريبت اذا كتبت كلمه في اف 8 تفتح لي الوله وابي الوحه ما تفتح غير لي انا حاط سيريالهم مثل مود vip تقريبن _________________ ارجو تسعدوني وتوضحو الي تقلوه لاني جديد
ALw7sH Posted February 7, 2015 Posted February 7, 2015 البرمجه انك تبرمج الاكواد بنفسك والقسم ذا انك تبرمج واذا كودك فيه اخطاء نصلحها لك
ikAkA07 Posted February 7, 2015 Posted February 7, 2015 مآحد بيعطيكك سكربت جآهز بس نعطيك إلي تحتاجه عشآن تسوي السكربت .. وأنت حاول ولو غلطت تعال هنا يسأعدوكك # addCommandHandler -- عشآن الآمر .. getPlayerSerial -- تتاكد من سريال الشخص guiSetVisible -- تظهر اللوحة او تخفيها آتمنى تحأول تسويهأ .. =) Be Smart, Don't try me =) ,
baba Posted February 7, 2015 Author Posted February 7, 2015 يا اخي العزيز ولله حوله بس مو فاهم كثير انا لسا جديد لسا قاعد اتعلم بجرب وكذا انا بفهم صطر وصطر الثاني ما بعرفو
ikAkA07 Posted February 7, 2015 Posted February 7, 2015 يا اخي العزيز ولله حوله بس مو فاهم كثير انا لسا جديد لسا قاعد اتعلم بجرب وكذا انا بفهم صطر وصطر الثاني ما بعرفو ^ https://wiki.multitheftauto.com/wiki/AR/ ... 8%AC%D9%87 Be Smart, Don't try me =) ,
#DRAGON!FIRE Posted February 7, 2015 Posted February 7, 2015 بما انه الكود بسيط راح اساعدكـ به local Serials = { -- [ "Serial" ] = true, [ "Serial" ] = true, } addCommandHandler ( "VIP_Panel", function ( ) if ( Serials [ getPlayerSerial ( ) ] ) then guiSetVisible ( element, not guiGetVisible ( element ) ) showCursor ( guiGetVisible ( element ) ) end end ) To Contact Me at Skype : [email protected]
baba Posted February 7, 2015 Author Posted February 7, 2015 يا اخي مشكور ولله يوفقك بس يريت توضح لاني جديد مثل ما انت عارف الله يدخلك الجنه يعني انت معطيني الكلمه الي اكتبها تفتح الوحه بس وين احط اسم الوحه
baba Posted February 8, 2015 Author Posted February 8, 2015 سلام عليكم شباب بس رح ازعجكم شويه بعد اذنكم المود لما افتحو مثلن اسم المود max لما ادخل السيرفر واعمل start للمود يفتح الموحه مباشره في وجهي انا ابي الوحه تفتح مباشره انا قلت ابيها كلمه اكتبها تفتح لي لوحه بس ما حد تقدر فتح له الوحه غير الي انا حاط سيرياله ارجو المساعده وتوضيع واسف على الازعاج
TAPL Posted February 8, 2015 Posted February 8, 2015 اول ما تسوي النافذه تكون ظاهره تحتاج تستخدم الفنكشن ذا عشان تخفي النافذة بعد ما تسوي النافذه مباشرة guiSetVisible
baba Posted February 8, 2015 Author Posted February 8, 2015 function changeVisibility ( ) guiSetVisible (myWindow, not guiGetVisible ( myWindow ) ) end myWindow = guiCreateWindow ( 0.3, 0.3, 0.5, 0.60, "GUI window title", true ) setTimer ( changeVisibility, 2000, 0 ) للتاكد الكود كلينت او سيرفر + اشيل myWindow واحط بدالها اسم الوحه حقتي صح؟ في الصطر 3+7
TAPL Posted February 8, 2015 Posted February 8, 2015 ما تحتاج تايمر الكود جداً بسيط عبارة عن سطر النافذة و سطر ثاني لأخفاء النافذة myWindow = guiCreateWindow(0.3, 0.3, 0.5, 0.60, "GUI window title", true) -- صنع نافذة guiSetVisible(myWindow, false) -- اخفاء النافذة بعد صنعها مباشرة -- myWindow اسم متغير النافذة و الكود كلينت طبعاً
baba Posted February 8, 2015 Author Posted February 8, 2015 مشكور يا اخوي على الرد بس يا اخوي النافذا لسا ما تختفي انا بعرض لك الملفات وانت شوفها Meta server local Serials = { [ "انا شايل السريال حقي " ] = true, } addCommandHandler ( "VIP1", function ( ) if ( Serials [ getPlayerSerial ( ) ] ) then guiSetVisible ( VIP, not guiGetVisible ( VIP ) ) showCursor ( guiGetVisible ( VIP ) ) end end ) كلينت الوحه GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(318,49,313,541,"VIP",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(0.1725,0.4436,0.6422,0.0739,"VIP1",true,GUIEditor_Window[1]) GUIEditor_Image[1] = guiCreateStaticImage(0.0383,0.0425,0.9201,0.3087,"images/mtalogo.png",true,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(0.1725,0.5878,0.6422,0.0739,"VIP2",true,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(0.1725,0.7283,0.6422,0.0739,"VIP3",true,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(0.1725,0.878,0.6422,0.0739,"VIP4",true,GUIEditor_Window[1]) كلينت الكود الي انت عطيتني ايه VIP = guiCreateWindow(0.3, 0.3, 0.5, 0.60, "GUI window title", true) guiSetVisible(VIP, false)
baba Posted February 8, 2015 Author Posted February 8, 2015 ادمجهم لي اذا ما فيها تعب للتاكد ما ابي اغلط
TAPL Posted February 8, 2015 Posted February 8, 2015 جميع اكوادك كلينت GUIEditor_Window[1] و المقصود بأسم اللوحة يعني المتغير الخاص باللوحة الي هو يجي بعد علامة = بالكود حقك اسم متغير اللوحة GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(318,49,313,541,"VIP",false) guiSetVisible(GUIEditor_Window[1], false) -- اخفاء اللوحة guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(0.1725,0.4436,0.6422,0.0739,"VIP1",true,GUIEditor_Window[1]) GUIEditor_Image[1] = guiCreateStaticImage(0.0383,0.0425,0.9201,0.3087,"images/mtalogo.png",true,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(0.1725,0.5878,0.6422,0.0739,"VIP2",true,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(0.1725,0.7283,0.6422,0.0739,"VIP3",true,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(0.1725,0.878,0.6422,0.0739,"VIP4",true,GUIEditor_Window[1]) local Serials = { ["انا شايل السريال حقي"] = true, } addCommandHandler("VIP1", function() if Serials[getPlayerSerial()] then guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end)
baba Posted February 8, 2015 Author Posted February 8, 2015 يا اخي لما اكتب الكلمه VIP1 ما تفتح الوحه انا حاط السريال GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(318,49,313,541,"VIP",false) guiSetVisible(GUIEditor_Window[1], false) -- اخفاء اللوحة guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(0.1725,0.4436,0.6422,0.0739,"VIP1",true,GUIEditor_Window[1]) GUIEditor_Image[1] = guiCreateStaticImage(0.0383,0.0425,0.9201,0.3087,"images/mtalogo.png",true,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(0.1725,0.5878,0.6422,0.0739,"VIP2",true,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(0.1725,0.7283,0.6422,0.0739,"VIP3",true,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(0.1725,0.878,0.6422,0.0739,"VIP4",true,GUIEditor_Window[1]) local Serials = { ["*******************************"] = true, } addCommandHandler("VIP1", function() if Serials[getPlayerSerial()] then guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end)
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