baba Posted March 9, 2015 Share Posted March 9, 2015 سلام عليكم ابي كود بوابه تفتح وتسكر تكون لي تيم معين ارجو التوضيح Link to comment
iMr.TZ[W]ER Posted March 9, 2015 Share Posted March 9, 2015 تقدر تشوف المنتدى في مليون طلب مثله https://forum.multitheftauto.com/viewtopic.php?f ... A9#p727292 Link to comment
baba Posted March 9, 2015 Author Share Posted March 9, 2015 يا حب انا ابه لي تيم مو لي قروب او عصابه Link to comment
iMr.TZ[W]ER Posted March 9, 2015 Share Posted March 9, 2015 getPlayerTeam moveObject وسوي ماركر مخفي عالبوابة واستخدم هذا الحدث onClientMarkerHit Link to comment
yazan Posted March 9, 2015 Share Posted March 9, 2015 d3 = createObject ( 968, x, y, z, 0, 0, 90 ) d = createMarker ( x, y, z, "cylinder", 5, 0, 0, 0, 0 ) function ddf() if getTeamName(getPlayerTeam(source)) == "No Team" then moveObject (d3, 5000, x, y, z ) end end addEventHandler("onClientMarkerHit", d, ddf) ---------------------------------------------------------------------- طريقة ثانيه ب زر ---------------------------------------------------------------------- d3 = createObject ( 968, x, y, z, 0, 0, 90 ) d = createMarker ( x, y, z, "cylinder", 5, 0, 0, 0, 0 ) function cl() moveObject (d, 5000, x, y, z ) end function op() moveObject (d, 5000, x, y, z ) end addEventHandler ( "onClientMarkerHit", d, function () if getTeamName(getPlayerTeam(source)) == "No Team" then bindKey("1","down", op) bindKey("2","down", cl) end end) عدل الاحداث و ان ششاء الله ما يكون في خطا 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