ahmed1010 Posted April 10, 2014 Posted April 10, 2014 ممكن شرح كيف اخلى اعضاء الجروب يمديهم يقتلو بعض فى ماركر معين او مكان معين ابى الفنكشات Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
#DRAGON!FIRE Posted April 10, 2014 Posted April 10, 2014 تعدل ع الحدث او السكربت نفسه بـ اضافة isElementWithinMarker To Contact Me at Skype : [email protected]
ahmed1010 Posted April 10, 2014 Author Posted April 10, 2014 ما فهمتك يا زاحف Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
#DRAGON!FIRE Posted April 10, 2014 Posted April 10, 2014 ما فهمتك يا زاحف هذا الـ فنكشن وظيفته التحقق من انه اللاعب بـ داخل الماركر وما تلخليهم يقتلون بعض تتحق من وجود اللاعب بالماركر ذذ onClientPlayerDamge يوم تسوي انت الحدث مثلأ To Contact Me at Skype : [email protected]
ahmed1010 Posted April 10, 2014 Author Posted April 10, 2014 طيب باقى الفنشنات وينها Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
ahmed1010 Posted April 10, 2014 Author Posted April 10, 2014 زاحف القروب سستم هو اللى مانعهم من انهم يقتلوا بعض مو انا + انا ابى هذا الكود كساحة تدريب + القروب سستم مشفر Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
#DRAGON!FIRE Posted April 10, 2014 Posted April 10, 2014 زاحف القروب سستم هو اللى مانعهم من انهم يقتلوا بعض مو انا + انا ابى هذا الكود كساحة تدريب + القروب سستم مشفر اجل ما يمديكـ . او شف الستنج حقه من الممكن تعطيل هذي الخاصيةة # To Contact Me at Skype : [email protected]
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 احمد فيف لكن السيرفر اللى ابى اعمل فيه كده مو حقى انا واحد طلب منى ساحة تدريب بالمقر حقه انا سويت له المقر لكن ساحة التدريب مو عارف اعملها لكن الجروب سستم حق احمد فيف Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
The Killer Posted April 11, 2014 Posted April 11, 2014 Event # 'onClientPlayerDamage' function # createMarker isElementWithinMarker getElementData removeEventHandler -- 'onClientPlayerDamage' else addEventHandler -- 'onClientPlayerDamage' -- outputChatBox -- optional
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 (edited) function # removeEventHandler -- 'onClientPlayerDamage' getElementData شرح Edited April 11, 2014 by Guest Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 function # removeEventHandler -- 'onClientPlayerDamage' getElementData شرح Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
The Killer Posted April 11, 2014 Posted April 11, 2014 ياخي تكلم وش شرح وش افهم منه انا ؟ وبعدين ليه تعيد ردك وانا ليه حطيت استفهام اذا انا فاهم ردك تعيده لي مره ثانيه ؟ وضح وش تبي تقول حاط شرح وش افهم منه انا
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 هذول ما افهمهم Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
shwaeki Posted April 11, 2014 Posted April 11, 2014 function --وظيفة removeEventHandler -- "onClientPlayerDamage" الغاء او ازالة getElementData----- احضار العصابة gang
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 استخدم سكربت "العقرب" أفضل غير مشفر . ما ينفع لان السيرفر مو سيرفرى رح احاول اعملهم من هذول Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 الحين انا عملت الماركر اللى ينقله الى ساحة التدريب + سويت الشروط و التحقق من ان اللاعب داخل الماركر بعد التحقق من ان اللاعب داخل الماركر اش احط الاكواد التى يجب تفيذها فى حالة تحقق الشرط Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 function --وظيفة [b]local Marker50 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) local Marker60 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) function teleport1 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer, x ,y ,z ,) outputChatBox("لقد دخلت الى ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end function teleport2 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer,x ,y ,z ,) outputChatBox("بقد خرجت من ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end addEventHandler("onMarkerHit", Marker50,teleport1) addEventHandler("onMarkerHit", Marker60,teleport2) ---- ممكن تصحيح هذه الاكواد التالية ثم ماذا بعد تحقق الشرطة لانى اول مرة استخدم هذا الحدث و الفنكشن ------ addEventHandler("onClientPlayerDamage") dutymarker = createMarker(x ,y ,z ,,'cylinder', 300, 0, 0, 0, 0) function duty(thePlayer,marker, matchingDimension,marker) if getElementData( thePlayer, 'gang' ) == "[MsN]" and if isElementWithinMarker(thePlayer, dutymarker) then then outputChatBox("يمكنك قتل اعضاء عصابتك هنا", thePlayer, 255, 0, 0) else removeEventHandler("onClientPlayerDamage", marker,duty) end end end[/b] Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
iPrestege Posted April 11, 2014 Posted April 11, 2014 local Marker50 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) local Marker60 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) function teleport1 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer, x ,y ,z ) outputChatBox("لقد دخلت الى ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end function teleport2 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer,x ,y ,z ) outputChatBox("بقد خرجت من ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end addEventHandler("onMarkerHit", Marker50,teleport1) addEventHandler("onMarkerHit", Marker60,teleport2) بالنسبة لكود الـ دمج أو تأثر الاعب مافهمت عليك؟ وش تبي بالضبط؟ لاني شلته لانة خريسة هو والماركر حق ديوتي؟
ahmed1010 Posted April 11, 2014 Author Posted April 11, 2014 local Marker50 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) local Marker60 = createMarker ( x ,y ,z ,'cylinder', 2.0, 255, 0, 0, 150) function teleport1 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer, x ,y ,z ) outputChatBox("لقد دخلت الى ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end function teleport2 (thePlayer) if getElementType ( thePlayer ) == 'player' then if getElementData( thePlayer, 'gang' ) == "[MsN]" and getPlayerTeam( thePlayer ) and getTeamName( getPlayerTeam( thePlayer ) ) == 'No Team' then setElementPosition(thePlayer,x ,y ,z ) outputChatBox("بقد خرجت من ساحة التدريب", thePlayer, 255, 0, 0) else outputChatBox("انت لست بالعصابة", thePlayer, 255, 0, 0) end end end addEventHandler("onMarkerHit", Marker50,teleport1) addEventHandler("onMarkerHit", Marker60,teleport2) بالنسبة لكود الـ دمج أو تأثر الاعب مافهمت عليك؟ وش تبي بالضبط؟ لاني شلته لانة خريسة هو والماركر حق ديوتي؟ هريسة لانى ما افهم هذه الفكشن ممكن تسويها انت انا عايز اخلى اعضاء الجروب يمديهم يقتلو بعض لما يتنقلو الى ساحة التدريب يعنى و هم داخل ماركر مخى يمديهم يقتلوا بعض عاوز اعملها لكم للاسف Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
iPrestege Posted April 11, 2014 Posted April 11, 2014 للأسف هذا من القروب سيستم الخاص بك لذلك هذا السبب لازم تشيله .
ahmed1010 Posted April 12, 2014 Author Posted April 12, 2014 setElementData ( player, "Group", false ) اش رأيك لو استخدمنا هذه Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
ahmed1010 Posted April 12, 2014 Author Posted April 12, 2014 تنفع ام لا يا شباب Name in The Game : =[ AhMeD10__10 ]= Level in Scripting : 7% Level in MTA : 100% Level in V.B Programer : 100% PhotoShop : 100%
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