Dr.Xen Posted February 13, 2014 Posted February 13, 2014 السلام عليكم ورحمة الله وبركاته ,, ابي كود لو شغلت المود ما تفتح اللوحة علية يعني لأزم اروح ماركر وادخل الماركر وتفتح ... وشكرآ لكم
aL.Kfo Posted February 13, 2014 Posted February 13, 2014 guiSetVisible(GUIEditor.window[1],false) بـدل GUIEditor.window[1] ب اسم الوحـة تبعك
Mr.T9 Posted February 13, 2014 Posted February 13, 2014 "onMarkerHit" -------- عند لمس الماركر guiSetVisible -------- قفل و فتح النافذه
Dr.Xen Posted February 13, 2014 Author Posted February 13, 2014 لأزم تلمس ماركر وتفتح شف وش سويت GUIEditor = { button = {}, window = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(194, 129, 398, 314, "Police Center Control !", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF2F4CFA") GUIEditor.button[1] = guiCreateButton(10, 178, 115, 37, "Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "CC2650D7") GUIEditor.button[2] = guiCreateButton(10, 235, 115, 37, "Parking Cars Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "CC72E813") GUIEditor.button[3] = guiCreateButton(273, 235, 115, 37, "Prison Control", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "CCF0C80A") GUIEditor.button[4] = guiCreateButton(273, 178, 115, 37, "Surface Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "CC16DEE6") GUIEditor.staticimage[1] = guiCreateStaticImage(121, 20, 152, 152, "cinet.png", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(286, 283, 102, 21, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "CCF23907") end ) guiSetVisible (GUIEditor.window[1], false) addEventHandler ("onClientMarkerHit", createMarker(214.72594,1906.00842,17.64063,"cylinder",2,255,0,0,255), function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "Police" then guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) end end )
Mr.T9 Posted February 13, 2014 Posted February 13, 2014 GUIEditor = { button = {}, window = {}, staticimage = {} } GUIEditor.window[1] = guiCreateWindow(194, 129, 398, 314, "Police Center Control !", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF2F4CFA") GUIEditor.button[1] = guiCreateButton(10, 178, 115, 37, "Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "CC2650D7") GUIEditor.button[2] = guiCreateButton(10, 235, 115, 37, "Parking Cars Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "CC72E813") GUIEditor.button[3] = guiCreateButton(273, 235, 115, 37, "Prison Control", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "CCF0C80A") GUIEditor.button[4] = guiCreateButton(273, 178, 115, 37, "Surface Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "CC16DEE6") GUIEditor.staticimage[1] = guiCreateStaticImage(121, 20, 152, 152, "cinet.png", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(286, 283, 102, 21, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "CCF23907") guiSetVisible (GUIEditor.window[1], false) createMarker(214.72594,1906.00842,17.64063,"cylinder",2,255,0,0,255) addEventHandler ("onClientMarkerHit",root, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "Police" then guiSetVisible (GUIEditor.window[1], true) showCursor (true) end end )
Dr.Xen Posted February 13, 2014 Author Posted February 13, 2014 كفو عدلت ؟ اول ما اشغل المود على طول تفتح اللوحة على وجهي ! Mr.T9
Mr.T9 Posted February 13, 2014 Posted February 13, 2014 كفو عدلت ؟اول ما اشغل المود على طول تفتح اللوحة على وجهي ! Mr.T9 جرب الكود الحين عدلت ردي
Dr.Xen Posted February 13, 2014 Author Posted February 13, 2014 اوك كفو ومشكور ,, + ابي لو ضطغت زر يغير مكان الكامير وتختفي الماؤوس ومااقدر احرك ولو كتبت كلمة ترجع الكاميرآ زي ما كانت + كيف اجيب إحداثيات الكاميرأآ؟!!
Mr.T9 Posted February 13, 2014 Posted February 13, 2014 اوك كفو ومشكور ,,+ ابي لو ضطغت زر يغير مكان الكامير وتختفي الماؤوس ومااقدر احرك ولو كتبت كلمة ترجع الكاميرآ زي ما كانت + كيف اجيب إحداثيات الكاميرأآ؟!! الكاميرا استخدم setCameraMatrix تختفي الماوس showCursor
Dr.Xen Posted February 13, 2014 Author Posted February 13, 2014 ممكن تسوي الكود ,, ترآ انا ما اعرف ..
!#NssoR_) Posted February 13, 2014 Posted February 13, 2014 ممكن تسوي الكود ,, ترآ انا ما اعرف .. مدامك ماتعرف وش لك بلبرمجة ؟
Mr.T9 Posted February 13, 2014 Posted February 13, 2014 (edited) مثال للكاميرا setCameraMatrix(source,x,y,z,x,y,z) مثال بسيط + عليك الاحداثيات بس لما تجيب احداثيات الكاميرا من فوق فيها صعوبه شوي Edited February 13, 2014 by Guest
Dr.Xen Posted February 13, 2014 Author Posted February 13, 2014 (edited) يعني اوول ما تضغط الزر تغير للكاميرآ+ كيف اجيب الإحداثيات ؟ Edited February 13, 2014 by Guest
#DRAGON!FIRE Posted February 13, 2014 Posted February 13, 2014 كيف اجيب الإحداثيات ؟ https://forum.multitheftauto.com/viewtopic.php?f ... +.#p652102 To Contact Me at Skype : [email protected]
Dr.Xen Posted February 14, 2014 Author Posted February 14, 2014 GetCameraPos كتبت في اف 8 ما جاني شي :!
#DRAGON!FIRE Posted February 14, 2014 Posted February 14, 2014 GetCameraPos كتبت في اف 8ما جاني شي :! مستحيل .. هو ما يجيك .. الاحداثيات تنسخ وعشان تلصقها : Ctrl + v ملأحظة : الكود بجانب كلنت ذذذذذ To Contact Me at Skype : [email protected]
Dr.Xen Posted February 14, 2014 Author Posted February 14, 2014 من وين انسخ ؟؟ انا داخل ماب ادتر وكتبت ض1
#DRAGON!FIRE Posted February 14, 2014 Posted February 14, 2014 من وين انسخ ؟؟ انا داخل ماب ادتر وكتبت ض1 تكتب الأمر بـ اف 8 > وتنسخ لك الاحداثيات من الكود نفسه Ctrl + v انت عليك تلصقها من To Contact Me at Skype : [email protected]
Dr.Xen Posted February 15, 2014 Author Posted February 15, 2014 كتبتها ما طلعت شي طيب ,, يمكن في مود علشان اركب ؟ ولأ عل طول ينسخ ؟!!
al-Kobra Posted February 15, 2014 Posted February 15, 2014 اكتب الكلمة ,, بعدين روح للنوت باد او اي مكان تبرمج فيه ,, واضرب Ctrl و v بتطلع الاحداثيات
Dr.Xen Posted February 15, 2014 Author Posted February 15, 2014 (edited) يعني انا في أي سيرفر او سيرفري المحلي اكتب الكلمة واروح الصق بتجي صح؟! Edited February 15, 2014 by Guest
Dr.Xen Posted February 15, 2014 Author Posted February 15, 2014 دخلت ماب ادتر وكتبت في اف 8 GetCameraPos وجيت في نوتباد ولصقت Ctrl+v ما جت إحداثيات جججات GetCameraPos !
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