αвυ-wαleed Posted October 16, 2013 Share Posted October 16, 2013 مطلوب كودات اذا بسوي مهمة مثل كود الماركر مايفتح الا كل 30 دقيقة وقبل لايفتح ب 5 دقايق يجي تنبية في الشات وكود فريقين الي يدخلون ويتقاتلون Link to comment
aL.Kfo Posted October 16, 2013 Share Posted October 16, 2013 ي بعدي مهمه حرب مو بس ماركر دخول و يتهاوشون و انتهت السالفه ع العموم ذا الكود الماركر by AHMAD1234 local marker = createMarker( x,y,z, "cylinder", 2, 255, 255, 0, 255 ) addEventHandler("onPlayerJoin",root,function() setElementData(source,"Hit",true) end ) addEventHandler("onMarkerHit",marker, function(player) if getElementType(player) == "player" then if ( getTeamName( getPlayerTeam( player ) ) == "اسم الفريق" ) then if ( getElementData(player,"Hit") == true ) then setElementData(player,"Hit",false) setElementPosition(player,x,y,z) outputChatBox("Welcome",player,255,0,0,true) else outputChatBox("You Can't Join To Marker",player,255,0,0,true) end end end end ) setTimer(function() for i,v in ipairs (getElementsByType("player")) do setElementData(v,"Hit",true) end end,5000,0 ) ووش قصدك ب وكود فريقين الي يدخلون ويتقاتلون ذا الاي اعرفه لو عندي خبره اكثر طيبت خاطرك 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