yazan Posted February 18, 2013 Posted February 18, 2013 سلام عليكم ودي تصححون لي كود و تضفون عليه لمن لاعب يلمس مارك معين يطلع له لوحه و يمكن اغلقها بعد ما يختار yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) function openWin () if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor(false) else guiSetVisible (GUIEditor_Window[1], true) showCursor(true) end end addEventHandler("onClientMarkerHit",yazan, "down", openWin) if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox('تم نقلك الى فريق الاردن, true ) if ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox('تم نقلك الى فريق السعودية, true ) سبحان الله ---------------------------------- LUA 56%
iMr.Dawix~# Posted February 18, 2013 Posted February 18, 2013 سلام عليكم ودي تصححون لي كود و تضفون عليه لمن لاعب يلمس مارك معين يطلع له لوحه و يمكن اغلقها بعد ما يختار yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) function openWin () if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor(false) else guiSetVisible (GUIEditor_Window[1], true) showCursor(true) end end addEventHandler("onClientMarkerHit",yazan, "down", openWin) if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox('تم نقلك الى فريق الاردن, true ) if ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox('تم نقلك الى فريق السعودية, true ) وين الزر حق الإغلآق الي تبيه يسكر النافذه؟ My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
PaiN^ Posted February 18, 2013 Posted February 18, 2013 yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler("onClientMarkerHit", yezan, function ( player ) if ( getElementType(player) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor( true ) end end ) addEventHandler( "onClientGUIClick", root, function ( player ) if ( getElementType(player) == "player" ) then if ( player == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) elseif ( player == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) end end end ) يحتاج ناحية سيرفر عشان يحط اللاعب بالفريق " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
PaiN^ Posted February 18, 2013 Posted February 18, 2013 وين الزر حق الإغلآق الي تبيه يسكر النافذه؟ هو يقصد بعد ما تختار تقفل اللوحة " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
===|OSAMA|=== Posted February 18, 2013 Posted February 18, 2013 (edited) yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler("onClientMarkerHit", yezan, function ( player ) if ( getElementType(player) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor( true ) end end ) addEventHandler( "onClientGUIClick", root, function ( player ) if ( getElementType(player) == "player" ) then if ( player == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) elseif ( player == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) end end end ) يحتاج ناحية سيرفر عشان يحط اللاعب بالفريق خطأ =| ^ خالط كلنت وسيرفر وكوكتيل أحداث ذذ =D ==================== سلام عليكم ودي تصححون لي كود و تضفون عليه لمن لاعب يلمس مارك معين يطلع له لوحه و يمكن اغلقها بعد ما يختار yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) function openWin () if guiGetVisible (GUIEditor_Window[1]) then guiSetVisible (GUIEditor_Window[1], false) showCursor(false) else guiSetVisible (GUIEditor_Window[1], true) showCursor(true) end end addEventHandler("onClientMarkerHit",yazan, "down", openWin) if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox('تم نقلك الى فريق الاردن, true ) if ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox('تم نقلك الى فريق السعودية, true ) ^ الكود كآن فيه اخطاء كثير , وبالنسبة لتقفيل النافذة سويته لكـ لما يطلع من الماركر تروح النافذة تلقائي + سويت زر إغلاق لما تكبسه تروح النافذة -- Client Side ! yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"اختيار الفريق",false) guiSetVisible ( GUIEditor_Window[1], false ) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) CloseBtn = guiCreateButton(430,20,35,35,"X",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler ( "onClientMarkerHit", yazan, function ( hitElement ) if ( guiGetVisible ( GUIEditor_Window[1] ) == false ) and ( getElementType ( hitElement ) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end ) addEventHandler ( "onClientMarkerLeave", yazan, function ( leftElement ) if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) and ( getElementType ( leftElement ) == "player" ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox('تم نقلك الى فريق الاردن', 255, 255, 255, true ) elseif ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00256347656, 164.16250610352) outputChatBox('تم نقلك الى فريق السعودية', 255, 255, 255, true ) elseif ( source == CloseBtn ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end end ) Edited February 18, 2013 by Guest
yazan Posted February 18, 2013 Author Posted February 18, 2013 مشكورين بجرب و برد خبر سبحان الله ---------------------------------- LUA 56%
yazan Posted February 18, 2013 Author Posted February 18, 2013 اسف نسيت اقلكم شلون يتغير شخصيه لمن اكبس نسيت اقلكم ادري تعبتكم سبحان الله ---------------------------------- LUA 56%
===|OSAMA|=== Posted February 18, 2013 Posted February 18, 2013 -- Client Side ! yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"اختيار الفريق",false) guiSetVisible ( GUIEditor_Window[1], false ) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) CloseBtn = guiCreateButton(430,20,35,35,"X",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler ( "onClientMarkerHit", yazan, function ( hitElement ) if ( guiGetVisible ( GUIEditor_Window[1] ) == false ) and ( getElementType ( hitElement ) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end ) addEventHandler ( "onClientMarkerLeave", yazan, function ( leftElement ) if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) and ( getElementType ( leftElement ) == "player" ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) setElementModel ( localPlayer, Skin ) outputChatBox('تم نقلك الى فريق الاردن', 255, 255, 255, true ) elseif ( source == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00256347656, 164.16250610352) setElementModel ( localPlayer, Skin ) outputChatBox('تم نقلك الى فريق السعودية', 255, 255, 255, true ) elseif ( source == CloseBtn ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end end ) الإستبدآل , سطر 40 , Skin = رقم شخصية الفريق الأردني سطر 44 , Skin = رقم شخصية الفريق السعودي
PaiN^ Posted February 18, 2013 Posted February 18, 2013 yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler("onClientMarkerHit", yezan, function ( player ) if ( getElementType(player) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor( true ) end end ) addEventHandler( "onClientGUIClick", root, function ( player ) if ( getElementType(player) == "player" ) then if ( player == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) elseif ( player == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) end end end ) يحتاج ناحية سيرفر عشان يحط اللاعب بالفريق خطأ =| ^ خالط كلنت وسيرفر وكوكتيل أحداث ذذ =D وين فنكشنات السيرفر؟؟ كلها كلنت + كودك بس لو خرج من الماركر يقفل النافذة, المفروض يكون فيه guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) مع "onClientGUIClick" " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
===|OSAMA|=== Posted February 18, 2013 Posted February 18, 2013 yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler("onClientMarkerHit", yezan, function ( player ) if ( getElementType(player) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor( true ) end end ) addEventHandler( "onClientGUIClick", root, function ( player ) if ( getElementType(player) == "player" ) then if ( player == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) elseif ( player == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) end end end ) يحتاج ناحية سيرفر عشان يحط اللاعب بالفريق خطأ =| ^ خالط كلنت وسيرفر وكوكتيل أحداث ذذ =D وين فنكشنات السيرفر؟؟ كلها كلنت + كودك بس لو خرج من الماركر يقفل النافذة, المفروض يكون فيه guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) مع "onClientGUIClick" ^ جرب كودي أول شي , أنا مسوي زر إغلاق من النافذة + لما يطلع من الماركر تروح النافذة تلقائي -_-" أما بالنسبة لكودكـ yazan = createMarker( -2924.978515625, -736.68469238281, 170.08749389648, "cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(149,62,486,448,"ختيار الفريق",false) GUIEditor_Image[1] = guiCreateStaticImage(120,248,78,191,"images/yazan2.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(327,249,82,190,"images/yazan1.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(329,211,76,35,"الاردن",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(121,219,77,29,"السعودية",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(9,87,477,65,"ليس الهدف ان تكون اردني او سعودي او اي دوله تم صنع مود من اجل تسليه فقط",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(209,223,121,24,"نحنا اخوان كلنا عرب",false,GUIEditor_Window[1]) addEventHandler("onClientMarkerHit", yezan, function ( player ) if ( getElementType(player) == "player" ) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor( true ) end end ) addEventHandler( "onClientGUIClick", root, function ( player ) if ( getElementType(player) == "player" ) then if ( player == GUIEditor_Button[1] ) then setElementPosition( localPlayer, -2924.978515625, -736.68469238281, 170.08749389648) outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) elseif ( player == GUIEditor_Button[2] ) then setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) end end end ) عندكـ هنآ outputChatBox( "تم نقلك الى فريق الاردن", player, 255, 0, 0 , true ) ^ سيرفر -_-" + outputChatBox("تم نقلك الى فريق السعودية", player, 255, 0, 0, true ) ^ سيرفر -_-" + yezan عندكـ اسم الماركر بالحدث هو yazan وهو إسمه بالأصل + function ( player ) -- ?? انت تفكر كل فنكشن تكتب فيها بلاير تصير خاصة باللاعب خخ ؟ الخاصة بالحدث ثم تسوي الكود Parametersلازم تشوف الـ -_-" المقصود بـ بلاير بالفنكشن حقكـ هو ^ the name of the button which will be clicked , it can be left, right, middle + if ( getElementType(player) == "player" ) then لنفرض إنها صح / ليه تتحق من الأصل ؟ , رح يجي جماد ويكبس الزر مثلاً ؟ خخ ^ + if ( player == GUIEditor_Button[1] ) then player ?? + elseif ( player == GUIEditor_Button[2] ) then player ?? + هو كان عندهـ غلط بالاحداثيات بسطر 35 وانت ما صححته setElementPosition( localPlayer, -2990.9272460938, -437.00.256347656, 164.16250610352) y عند الإحداثي -437.00.256347656 حاط نقطتين وهاذ رح يخرب الكود = )
PaiN^ Posted February 19, 2013 Posted February 19, 2013 آهآآآآ مشكور أخوي أسامة ما قصرت دايمـ تصححلي ذذ " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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