tourra Posted April 2, 2013 Share Posted April 2, 2013 السلام عليكم و رحمة الله و بركاته بغيت كود لما تدخل ساحة القتال تجيك لوحة و لما تخرج ممن ساحة القتال تروح الاسلحة و اي شيء مطلوب ؟؟ Link to comment
فاّرس Posted April 2, 2013 Share Posted April 2, 2013 استخدم, createMarker 'onMarkerHit' Link to comment
iPrestege Posted April 2, 2013 Share Posted April 2, 2013 createColSphere bindKey unbindKey onColShapeHit onColShapeLeave ^^ للمساحات الكبيرة مثل الساحة او او هذي الوظائف المطلوبة # Link to comment
][sojn][ Posted April 2, 2013 Share Posted April 2, 2013 sojn = createMarker ( 210.99588012695, 1857.5511474609, 31.168750762939, "corona", 10.0, 0, 0, 255, 0 )----صنع الماركر والاحداثيات function ent ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, true) end addEventHandler ( "onClientMarkerHit", sojn, ent ) function onLeave ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, false) end addEventHandler ( "onMarkerLeave", sojn, onLeave ) Link to comment
iPrestege Posted April 2, 2013 Share Posted April 2, 2013 sojn = createMarker ( 210.99588012695, 1857.5511474609, 31.168750762939, "corona", 10.0, 0, 0, 255, 0 )----صنع الماركر والاحداثيات function ent ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, true) end addEventHandler ( "onClientMarkerHit", sojn, ent ) function onLeave ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, false) end addEventHandler ( "onMarkerLeave", sojn, onLeave ) ماودك تذكر حقوق تي تي ؟ Link to comment
][sojn][ Posted April 2, 2013 Share Posted April 2, 2013 createColSpherebindKey unbindKey onColShapeHit onColShapeLeave ^^ للمساحات الكبيرة مثل الساحة او او هذي الوظائف المطلوبة # كلامك صحيح لكن , على ما اعتقد يبي ماركر ذذ Link to comment
][sojn][ Posted April 2, 2013 Share Posted April 2, 2013 sojn = createMarker ( 210.99588012695, 1857.5511474609, 31.168750762939, "corona", 10.0, 0, 0, 255, 0 )----صنع الماركر والاحداثيات function ent ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, true) end addEventHandler ( "onClientMarkerHit", sojn, ent ) function onLeave ( thePlayer, matchingDimension ) guiSetVisible(أسم اللوحه, false) end addEventHandler ( "onMarkerLeave", sojn, onLeave ) حقوق؟ والله انه انا الي مسويه اقسم بالله انه انا اصلا ما شفت مشاركة تيتي ماودك تذكر حقوق تي تي ؟ Link to comment
tourra Posted April 2, 2013 Author Share Posted April 2, 2013 يا اخي انا ما ابي ماركر اذا كانت ماركر ما اجيت سألتكم ابي لما يدخل مكان معين Link to comment
][sojn][ Posted April 2, 2013 Share Posted April 2, 2013 يا اخي انا ما ابي ماركر اذا كانت ماركر ما اجيت سألتكم ابي لما يدخل مكان معين لازم ماركر ولا كول شيب ذذ ما اعتقد في طريقه ثانيه Link to comment
!#NssoR_) Posted April 2, 2013 Share Posted April 2, 2013 اخوي انت منزل الموضوع مرتين ؟ لنك في هذا الموضوع طلبت نفس القصه انك تبي لما واحد يلمس الماركر تفتح الوحه وعطوك الاكواد ونزلت موضوع جديد بـ نفس القصه ؟ viewtopic.php?f=160&t=56648 Link to comment
tourra Posted April 2, 2013 Author Share Posted April 2, 2013 لا بس ما ابي الماركر ابي لما يدخل ساحة القتال مكان معين ذا الموضوع غير ض1 Link to comment
!#NssoR_) Posted April 2, 2013 Share Posted April 2, 2013 خخخخخخخخ بس اضن ان العنوان الي بل موضوع السابق " طلب كود : لما تدخل الماركر تجي اللوحة " نفس طلبك هنا Link to comment
#Al-Ha[J]aRii Posted April 2, 2013 Share Posted April 2, 2013 جــرب function() local Sphere = createColSphere ( x, y, z, 1 ) then ------ الاحداثيات x y z guiSetVisible ( اسم النافدة, true ); showCursor(true); function Sphere_Enter ( thePlayer, SphereDimension ); if getElementType ( thePlayer ) == "player" then local name = getPlayerName ( thePlayer ); outputChatBox ( name.." دخل الساحة!", getRootElement(), 255, 255, 109 ); end; end; addEventHandler ( "onColShapeHit", Sphere , Sphere_Enter ); function Sphere_Exit ( thePlayer, SphereDimension ); if getElementType ( thePlayer ) == "player" then if isPlayerDead ( thePlayer ) ~= true then guiSetVisible ( اسم النافدة, false ); showCursor(false); local name = getPlayerName ( thePlayer ); outputChatBox ( name.." خرج من الساحة!", getRootElement(), 255, 255, 109 ); end; end; end; addEventHandler ( "onColShapeLeave", Sphere, Sphere_Exit ); لين تبي ياخد اسلحة الاعب استخدم الوظيفه takeAllWeapons ----- سيرفر فقط .! و سو لها ترايقر سيرفر Link to comment
|Mr|-Talal07-| Posted April 3, 2013 Share Posted April 3, 2013 استخدم ذي createColRectangle -- لعمل منطقه bindKey -- لتركيب زر للاعب اذا دخل unbindKey -- لابعاد الزر اذا خرج "onColShapeHit" -- افنت اذا دخل المنطقه "onColShapeLeave" -- افنت اذا خرج من المنطقه takeAllWeapons -- لسحب الاسلحه اذا خرج من المنطقه getElementType -- للتاكد من نوع الي دخل المنطقه يمكن تكون سياره 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