Sfa7 Posted February 10, 2013 Share Posted February 10, 2013 (edited) تمت الافاده Edited February 10, 2013 by Guest Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 if getElementModel(player) == 0 then Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 يعطيك العافيه تابل ذذ طيب لو بغيت اخلي بس قروب الكونسل هو اذا مر عند الباب ينفتحله يعني انا احدد الباب لـ اي قروب يفتح ان شالله فهمتني ذذ Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 اخوي تابل سولي مثاال ع هذا الكود بس بغيت اقولك انا سويت كذا myGate1 = createObject ( 2990, 213.69999694824, 1875.9000244141, 13, 0, 0, 180 ) theMarker = createMarker ( 213.69999694824, 1875.9000244141, 13, "cylinder", 8, 0, 0, 0, 0 ) function openMyGate ( thePlayer ) if getElementModel(player) == 0 then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) end end addEventHandler ( "onMarkerHit", theMarker, openMyGate, false ) function closeMyGate ( thePlayer ) if getElementModel(player) == 0 then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 13 ) end end addEventHandler ( "onMarkerLeave", theMarker, closeMyGate, false ) وماضبط + ي ليت تسويلي طريقة اخليه يفتح لـ قروب ادمن Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 player إلى thePlayer غير + شوف ردي فوق Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 سويت كذا وماكو فايده myGate1 = createObject ( 2990, 213.69999694824, 1875.9000244141, 13, 0, 0, 180 ) theMarker = createMarker ( 213.69999694824, 1875.9000244141, 13, "cylinder", 8, 0, 0, 0, 0 ) function openMyGate ( Player ) if getElementModel(player) == 0 then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) end end addEventHandler ( "onMarkerHit", theMarker, openMyGate, false ) function closeMyGate ( Player ) if getElementModel(player) == 0 then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 13 ) end end addEventHandler ( "onMarkerLeave", theMarker, closeMyGate, false ) Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 كبتل P أنت حاط حرف المفروض سمول Player = player Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 لوول يب ضبطت ^ الحين شوف ذا صح ولا غلط myGate1 = createObject ( 2990, 213.69999694824, 1875.9000244141, 13, 0, 0, 180 ) theMarker = createMarker ( 213.69999694824, 1875.9000244141, 13, "cylinder", 8, 0, 0, 0, 0 ) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) end end addEventHandler ( "onMarkerHit", theMarker, openMyGate, false ) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 13 ) end end addEventHandler ( "onMarkerLeave", theMarker, closeMyGate, false ) Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 صح بس وين راح ذا function openMyGate ( player ) و ذا function closeMyGate ( player ) Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 صحبس وين راح ذا function openMyGate ( player ) و ذا function closeMyGate ( player ) طيب ذوول احطهم فوق local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then ولا تحته ؟ Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 خلالاص حليت المشكله ويعطيك الف الف الف عافيه بس عندي سوال الماركر اسويله نفس الشي؟ Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 مافهمت ._. كيف يعني تسوي له نفس الشي؟ Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 قصدي بسوي ماركر ينقل فقط الي معه شخصية 0 + لو ابيه ينقل قروب كونسل فقط نفس الطريقه ولا ؟ Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 إذا تبيه إلى شخصية رقم 0 if getElementModel(player) == 0 then إذا تبيه لقروب كونسل local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then إذا تبيه لشخصية رقم 0 أو قروب كونسول local accName = getAccountName(getPlayerAccount(player)) if getElementModel(player) == 0 or isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 marker = createMarker( 228.08263, 1897.70776, 16.64806, "checkpoint", 1, 0, 0, 255, 255) function changeLocation(person) if getElementModel(player) == 0 then setElementPosition(person, 230.35773, 1913.13599, 17.64063) end addEventHandler("onMarkerHit", marker, changeLocation) انا قصدي زي كذا جربت هذا الكود وماضبط Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 عندك خيارين player إلى person الأول: غير كلمة person إلى player الثاني: غير كلمة + لا تنسى تحطه end ناقص Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 marker = createMarker( 228.08263, 1897.70776, 16.64806, "checkpoint", 1, 0, 0, 255, 255) function changeLocation(player) if getElementModel(person) == 0 then end setElementPosition(person, 230.35773, 1913.13599, 17.64063) end addEventHandler("onMarkerHit", marker, changeLocation) ي ليت تساعدني ايند وين احطها؟ معليش تابل توني مبتدي بلبرمجه Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 marker = createMarker(228.08263, 1897.70776, 16.64806, "checkpoint", 1, 0, 0, 255, 255) function changeLocation(player) if getElementModel(player) == 0 then setElementPosition(player, 230.35773, 1913.13599, 17.64063) end end addEventHandler("onMarkerHit", marker, changeLocation) Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 marker = createMarker(228.08263, 1897.70776, 16.64806, "checkpoint", 1, 0, 0, 255, 255) function changeLocation(player) if getElementModel(player) == 0 then setElementPosition(player, 230.35773, 1913.13599, 17.64063) end end addEventHandler("onMarkerHit", marker, changeLocation) لوول انا توني مسويها زيك بس الخطا منك مو مني تدري ليه ؟ لنك سويت كذا setElementPosition(player getElementModel(player) hangeLocation(player) انت حطيتهم كلهم بلير وقلتلي لاتحطهم بلير ^ هنا الخطا بس يالله ماعليها كفوو ي مبدع ويعطيك العافيه + ادري تعبتك معي Link to comment
TAPL Posted February 10, 2013 Share Posted February 10, 2013 ض1 وين أنا قلت لك لا تحطهم بلاير أنا قلت لك عندك خيارين person يعني أما انك تحطهم كلهم بلاير أو تحطهم كلهم Link to comment
Sfa7 Posted February 10, 2013 Author Share Posted February 10, 2013 كاان وضحت وقلت من الاول اما انك تحطم كلهم بلير او بيرسون لني انا احسبك تقول كلام ثاني ذذ المهم يعطيك العافيه ^^ 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