S4MuEL Posted February 9, 2013 Share Posted February 9, 2013 السسلآمم ععليكمم ! كيفكم عسآكم كويسين ! الزبدةة حبيت مسآعدتكم في شيئين ! انا عندي مشكلةة يوم اسوي سكربت وأشغلهه وما يطلع لي الصور ! ولمآ أكون أسويهه تطلع الصور ! فأبي مسآعدتكم ! المشكلةة الثآنيةة ! أنا سويت لوحةة إنتقآلآت الغروب الدآئري الخ الخ ! د بس مآ عرف لهالأشيآء كثير ! كيف وأي كود ؟ يعني يوم إضغط ع الغروب يوديني الغروب ! شكلهآ السآلفةة فيهآ خرآبيط وتسسذآ وإحدآثيآت !! -_-" Link to comment
TAPL Posted February 9, 2013 Share Posted February 9, 2013 1- حط كودك 2- https://forum.multitheftauto.com/viewtopic.php?f=160&t=54010 Link to comment
S4MuEL Posted February 9, 2013 Author Share Posted February 9, 2013 GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(232,145,438,398,"لوحةة الإنتقآلآت ! V.1",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,420,368,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(3,2,416,364,"images/mtalogo.png",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(268,311,66,48,"الدآئري !",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(134,313,66,48,"المطآر 1",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(6,312,62,49,"المطآر 3 !",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(315,254,88,46,"سآحةة التفجير !",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(240,253,67,50,"الدخل !",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(166,254,69,47,"الفروسيةة !",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(10,256,81,38,"المطآر الطويل !",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(347,331,68,49,"الغروب !",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(211,334,63,47,"النخيل !",false,GUIEditor_Window[1]) GUIEditor_Button[10] = guiCreateButton(78,333,64,49,"المطآر 2 !",false,GUIEditor_Window[1]) GUIEditor_Button[11] = guiCreateButton(105,275,67,48,"العوشريهه !",false,GUIEditor_Window[1]) Link to comment
SmoKing Posted February 9, 2013 Share Posted February 9, 2013 لازم تحط لكل مكان احداثيات ينقلك لمكان معين Link to comment
S4MuEL Posted February 9, 2013 Author Share Posted February 9, 2013 إدري بس مآ أعرف وين أحطهآ ! ><" Link to comment
SmoKing Posted February 9, 2013 Share Posted February 9, 2013 GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(232,145,438,398,"لوحةة الإنتقآلآت ! V.1",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,420,368,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(3,2,416,364,"images/mtalogo.png",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(268,311,66,48,"الدآئري !",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(134,313,66,48,"المطآر 1",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(6,312,62,49,"المطآر 3 !",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(315,254,88,46,"سآحةة التفجير !",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(240,253,67,50,"الدخل !",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(166,254,69,47,"الفروسيةة !",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(10,256,81,38,"المطآر الطويل !",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(347,331,68,49,"الغروب !",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(211,334,63,47,"النخيل !",false,GUIEditor_Window[1]) GUIEditor_Button[10] = guiCreateButton(78,333,64,49,"المطآر 2 !",false,GUIEditor_Window[1]) GUIEditor_Button[11] = guiCreateButton(105,275,67,48,"العوشريهه !",false,GUIEditor_Window[1]) addEventHandler( "onClientGUIClick", root , function () if ( source == GUIEditor.button[1] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[2] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[3] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[4] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[5] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[6] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[7] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[8] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[9] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[10] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor.button[11] ) then setElementPosition( localPlayer, x,y,z ) end end ) Link to comment
iPrestege Posted February 9, 2013 Share Posted February 9, 2013 (edited) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(232,145,438,398,"لوحةة الإنتقآلآت ! V.1",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,420,368,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(3,2,416,364,"images/mtalogo.png",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(268,311,66,48,"الدآئري !",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(134,313,66,48,"المطآر 1",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(6,312,62,49,"المطآر 3 !",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(315,254,88,46,"سآحةة التفجير !",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(240,253,67,50,"الدخل !",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(166,254,69,47,"الفروسيةة !",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(10,256,81,38,"المطآر الطويل !",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(347,331,68,49,"الغروب !",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(211,334,63,47,"النخيل !",false,GUIEditor_Window[1]) GUIEditor_Button[10] = guiCreateButton(78,333,64,49,"المطآر 2 !",false,GUIEditor_Window[1]) GUIEditor_Button[11] = guiCreateButton(105,275,67,48,"العوشريهه !",false,GUIEditor_Window[1]) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(232,145,438,398,"لوحةة الإنتقآلآت ! V.1",false) guiSetVisible(GUIEditor_Window[1], false ) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,420,368,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(3,2,416,364,"images/mtalogo.png",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(268,311,66,48,"الدآئري !",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(134,313,66,48,"المطآر 1",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(6,312,62,49,"المطآر 3 !",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(315,254,88,46,"سآحةة التفجير !",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(240,253,67,50,"الدخل !",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(166,254,69,47,"الفروسيةة !",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(10,256,81,38,"المطآر الطويل !",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(347,331,68,49,"الغروب !",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(211,334,63,47,"النخيل !",false,GUIEditor_Window[1]) GUIEditor_Button[10] = guiCreateButton(78,333,64,49,"المطآر 2 !",false,GUIEditor_Window[1]) GUIEditor_Button[11] = guiCreateButton(105,275,67,48,"العوشريهه !",false,GUIEditor_Window[1]) function open() guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) guiSetInputEnabled(guiGetVisible(GUIEditor_Window[1])) end bindKey("F2","down",open) addEventHandler( "onClientGUIClick", root , function () if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[3] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[4] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[5] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[6] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[7] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[8] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[9] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[10] ) then setElementPosition( localPlayer, x,y,z ) elseif ( source == GUIEditor_Button[11] ) then setElementPosition( localPlayer, x,y,z ) end end ) Edited February 9, 2013 by Guest Link to comment
iPrestege Posted February 9, 2013 Share Posted February 9, 2013 اضن هو مسوي زر ؟ @ وش قصدك ؟ @ RayBak تأكد مضيف الصور للميتا + الصورة تكون داخل ملف images Link to comment
S4MuEL Posted February 9, 2013 Author Share Posted February 9, 2013 أها ! تسسلمون ع المسآعدةة ! وتم إضآفةة الصور ! = ) Link to comment
iPrestege Posted February 9, 2013 Share Posted February 9, 2013 الله يسلمك @ كودك فية خطأ في التعريفات GUIEditor. 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