Stranger Posted June 6, 2013 Posted June 6, 2013 السلام عليكم يا شباب , لا هنتو وش المشكله في هذا الكود Markers = { [1] = { 518.77997, 2057.14282, 54.2857 }, } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for _, TheMarkers in ipairs ( Markers ) do TheMarker = createMarker ( TheMarkers[1], TheMarkers[2], TheMarkers[3] - 1, "cylinder", 2, 25, 205, 100, 150 ) end end ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler ( "onClientMarkerHit", resourceRoot, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end addEventHandler("onClientGUIClick", GUIEditor_Button[1] , close, false)
فاّرس Posted June 6, 2013 Posted June 6, 2013 Markers = { [1] = { 518.77997, 2057.14282, 54.2857 }, } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for _, TheMarkers in ipairs ( Markers ) do TheMarker = createMarker ( TheMarkers[1], TheMarkers[2], TheMarkers[3] - 1, "cylinder", 2, 25, 205, 100, 150 ) end end ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) Sha67 سابقاً
Stranger Posted June 6, 2013 Author Posted June 6, 2013 اسمع يالغلا الكود ماضبط بس بعطيك الكود حقي كامل وشوف انت () ا Markers = { [1] = { 518.77997, 2057.14282, 54.2857 }, } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for _, TheMarkers in ipairs ( Markers ) do TheMarker = createMarker ( TheMarkers[1], TheMarkers[2], TheMarkers[3] - 1, "cylinder", 2, 25, 205, 100, 150 ) end end ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \nالقوانين \n -------- -------\n 1- الرجاء وضع الشعار هكذا [MSN] \n \n2- الرجاء عدم التخريب \n \n3- ممنوع أي شخص يحتل , لأزم يكون معاكم ليدر :# \n \n4- اي شخص مايحترم الالبدارات كيك من القروب !! واي سب او شتم كيك \n \n5- الي يطلع من القروووب لن ينضم ابدآ مهماا كان \n \n \n 6- حماية الشنطة مهمة للي ماراح يحميها راح يطرد \n \n 7-ممنوع منعآ بآتأ ذكر اسسم سيرفرات ثانية حتى لو بالغلط = طرد من القروب=بآند \n \n8-ممنوع تططلب من اي ليدر ، يضم اي شخص=كيك \n \n9-ممنوع تطلب من اي شخص المال \n \n10-اي شخص يأخذ بأص من القروب=كيك +فقط للحتلألأت \n ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \n",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false)
Stranger Posted June 6, 2013 Author Posted June 6, 2013 وش تبي تسوي بالضبط؟ ماركر , + زر اغلاق اول ماتلمس الماركر تجيك اللوحه + انا حاطه تيم ,لو تقدر تخليه قروب
فاّرس Posted June 6, 2013 Posted June 6, 2013 وش تبي تسوي بالضبط؟ ماركر , + زر اغلاق اول ماتلمس الماركر تجيك اللوحه + انا حاطه تيم ,لو تقدر تخليه قروب ووش المشكله بالكود بالضبط؟ + بما إنه ماركر واحد ليه مسوي جدول؟ Sha67 سابقاً
Stranger Posted June 6, 2013 Author Posted June 6, 2013 وش تبي تسوي بالضبط؟ ماركر , + زر اغلاق اول ماتلمس الماركر تجيك اللوحه + انا حاطه تيم ,لو تقدر تخليه قروب ووش المشكله بالكود بالضبط؟ + بما إنه ماركر واحد ليه مسوي جدول؟ الماركر مايبان
فاّرس Posted June 6, 2013 Posted June 6, 2013 GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \nالقوانين \n -------- -------\n 1- الرجاء وضع الشعار هكذا [MSN] \n \n2- الرجاء عدم التخريب \n \n3- ممنوع أي شخص يحتل , لأزم يكون معاكم ليدر :# \n \n4- اي شخص مايحترم الالبدارات كيك من القروب !! واي سب او شتم كيك \n \n5- الي يطلع من القروووب لن ينضم ابدآ مهماا كان \n \n \n 6- حماية الشنطة مهمة للي ماراح يحميها راح يطرد \n \n 7-ممنوع منعآ بآتأ ذكر اسسم سيرفرات ثانية حتى لو بالغلط = طرد من القروب=بآند \n \n8-ممنوع تططلب من اي ليدر ، يضم اي شخص=كيك \n \n9-ممنوع تطلب من اي شخص المال \n \n10-اي شخص يأخذ بأص من القروب=كيك +فقط للحتلألأت \n ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \n",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker ( x,y,z - 1, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) 38 سطر , حط الاحداثيات, Sha67 سابقاً
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 تفضل أخوي ذا للقروب GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \nالقوانين \n -------- -------\n 1- الرجاء وضع الشعار هكذا [MSN] \n \n2- الرجاء عدم التخريب \n \n3- ممنوع أي شخص يحتل , لأزم يكون معاكم ليدر :# \n \n4- اي شخص مايحترم الالبدارات كيك من القروب !! واي سب او شتم كيك \n \n5- الي يطلع من القروووب لن ينضم ابدآ مهماا كان \n \n \n 6- حماية الشنطة مهمة للي ماراح يحميها راح يطرد \n \n 7-ممنوع منعآ بآتأ ذكر اسسم سيرفرات ثانية حتى لو بالغلط = طرد من القروب=بآند \n \n8-ممنوع تططلب من اي ليدر ، يضم اي شخص=كيك \n \n9-ممنوع تطلب من اي شخص المال \n \n10-اي شخص يأخذ بأص من القروب=كيك +فقط للحتلألأت \n ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \n",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) local Group = "Name Group" TheMarker = createMarker ( 518.77997, 2057.14282, 54.2857, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( tostring(Group) ) ) ) then return end else guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) To Contact Me at Skype : [email protected]
فاّرس Posted June 6, 2013 Posted June 6, 2013 ^ كلنت مع سيرفر ؟ لول؟ + ترا القوانين خطأ ما تجي كذآ ما يمديك تحط اسطر تحت بعض... Sha67 سابقاً
Stranger Posted June 6, 2013 Author Posted June 6, 2013 ما ضبط الكود GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435," ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \nالقوانين \n -------- -------\n 1- الرجاء وضع الشعار هكذا [MSN] \n \n2- الرجاء عدم التخريب \n \n3- ممنوع أي شخص يحتل , لأزم يكون معاكم ليدر :# \n \n4- اي شخص مايحترم الالبدارات كيك من القروب !! واي سب او شتم كيك \n \n5- الي يطلع من القروووب لن ينضم ابدآ مهماا كان \n \n \n 6- حماية الشنطة مهمة للي ماراح يحميها راح يطرد \n \n 7-ممنوع منعآ بآتأ ذكر اسسم سيرفرات ثانية حتى لو بالغلط = طرد من القروب=بآند \n \n8-ممنوع تططلب من اي ليدر ، يضم اي شخص=كيك \n \n9-ممنوع تطلب من اي شخص المال \n \n10-اي شخص يأخذ بأص من القروب=كيك +فقط للحتلألأت \n ◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙◙ \n",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker (405.59174, 2084.17627, 17.6406, "cylinder", 2, 0, 255, 0, 170 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false)
فاّرس Posted June 6, 2013 Posted June 6, 2013 GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) ما تقدر تحط سطور في الاديت بس تقدر تسوي \n شوف سويت لك مثآل, Sha67 سابقاً
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 (edited) .......... Edited June 6, 2013 by Guest To Contact Me at Skype : [email protected]
Stranger Posted June 6, 2013 Author Posted June 6, 2013 GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) ما تقدر تحط سطور في الاديت بس تقدر تسوي \n شوف سويت لك مثآل, طيب يعني الحين وش الفايده انا ابيه كامل
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 ششوف كودي وجرب # و رد لي خبر To Contact Me at Skype : [email protected]
فاّرس Posted June 6, 2013 Posted June 6, 2013 (edited) ^ ههههه معليش بس قصدي انبهك ... + Manster @ كودك النافذه بتكون ظاهره, + القوانين قلت لك ما تجي سطر تحت سطر يعني كذآ , القوانين -1 -2 -3 ^ ما تجي, تقدر تستخدم بدل السطور \n هذي تنزل سطر لو تبي الكود ضابط جرب هذآ , GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) غير احداثيات الماركر... Edited June 6, 2013 by Guest Sha67 سابقاً
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 ششوف كودي وجرب # و رد لي خبر كودك مستحيل يضبط طيب # اش الغلط فيه .؟ ! To Contact Me at Skype : [email protected]
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 ^ ههههه معليش بس قصدي انبهك ...+ Manster @ كودك النافذه بتكون ظاهره, لو تبي الكود ضابط جرب هذآ , GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) TheMarker = createMarker ( -711,957,12.38226 - 1, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then local team = getPlayerTeam ( hitPlayer ) if team and getTeamName ( team ) == "Admin" then guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) غير احداثيات الماركر... مو مشكلة بس عصبتنا شوي # #~ بس تنبيه هو يقول يبغى لقروب مو لتيم To Contact Me at Skype : [email protected]
فاّرس Posted June 6, 2013 Posted June 6, 2013 ششوف كودي وجرب # و رد لي خبر كودك مستحيل يضبط طيب # اش الغلط فيه .؟ ! ^ كلنت مع سيرفر ؟ لول؟ isObjectInACLGroup - getPlayerAccount - getAccountName... ^ كلها سيرفر بس ما تجي كلنت... Sha67 سابقاً
#DRAGON!FIRE Posted June 6, 2013 Posted June 6, 2013 (edited) معلشــ أعذروني على الخطأ # ما في انسسأن ما يغلط شوف ذا Client Side ... GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3 ",false,GUIEditor_Window[1])--- هــنأ حط القوانين guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) addEvent("Vis",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end ) Server Side ... local Group = "Name Group" TheMarker = createMarker ( 518.77997, 2057.14282, 54.2857, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( tostring(Group) ) ) ) then return end else triggerClientEvent(source,"Vis",source) end end end ) Edited June 6, 2013 by Guest To Contact Me at Skype : [email protected]
!#NssoR_) Posted June 6, 2013 Posted June 6, 2013 معلشــ أعذروني على الخطأ # ما في انسسأن ما يغلطشوف ذا Client Side ... GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(391,107,528,565,".:[MSN]:.",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Memo[1] = guiCreateMemo(9,65,510,435,"القوانين \n -1 \n -2 \n\n\n -3 ",false,GUIEditor_Window[1])--- هــنأ حط القوانين guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Label[1] = guiCreateLabel(216,34,119,21," ",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) GUIEditor_Button[1] = guiCreateButton(211,514,98,42,"Close",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1] , function close() guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end,false) Server Side ... local Group = "Name Group" TheMarker = createMarker ( 518.77997, 2057.14282, 54.2857, "cylinder", 2, 25, 205, 100, 150 ) addEventHandler ( "onClientMarkerHit", TheMarker, function ( hitPlayer ) if hitPlayer == localPlayer then if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( tostring(Group) ) ) ) then return end else guiSetVisible ( GUIEditor_window[1], not guiGetVisible ( GUIEditor_window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_window[1] ) ) end 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