jafar Posted November 27, 2012 Share Posted November 27, 2012 السلام عليكم بغيت كود الفرنلدي فاير Link to comment
3NAD Posted November 27, 2012 Share Posted November 27, 2012 اطرح اللي سويته على شأن نساعدك Link to comment
|Mr|-Talal07-| Posted November 27, 2012 Share Posted November 27, 2012 سوي كذا setTeamFriendlyFire(getTeamFromName("team name"),false) Link to comment
jafar Posted November 27, 2012 Author Share Posted November 27, 2012 سوي كذا setTeamFriendlyFire(getTeamFromName("team name"),false) نفس الشي ما اشتغل Link to comment
|Mr|-Talal07-| Posted November 27, 2012 Share Posted November 27, 2012 انت بدلت team name باسم التيم الي في السيرفر و سويت ريستارت للمود و جربت مع واحد المود ؟؟ Link to comment
./BlackBird# Posted November 27, 2012 Share Posted November 27, 2012 (edited) setTeamFriendlyFire(getTeamFromName("team name"),true) Edited November 27, 2012 by Guest Link to comment
hassan.k.s.a Posted November 27, 2012 Share Posted November 27, 2012 جرب addEventHandler("onPlayerJoin",getRootElement(), function() setTeamFriendlyFire(getTeamFromName("team name"),false) end ) ولاتنسى انك تطلع من السيرفر وتدخل Link to comment
abu5lf Posted November 27, 2012 Share Posted November 27, 2012 جرب for _, v in ipairs ( getElementsByType 'team' ) do setTeamFriendlyFire ( v, false ) end Link to comment
MrCor Posted November 27, 2012 Share Posted November 27, 2012 تقضل الكود جاهز function MrCor() for i, TEAMS in ipairs ( getElementsByType("team") ) do if ( getTeamFriendlyFire ( TEAMS ) == true ) then setTeamFriendlyFire ( TEAMS, false ) end end end addEventHandler("onResourceStart", resourceRoot, MrCor) طبعا الكود سيرفر بس ركبه وشغله وخلاص الي في نفس التيم مايقتلو بعض ملاحظة : مايحتاج تعدل شي في الكود بس ركبه Link to comment
jafar Posted November 27, 2012 Author Share Posted November 27, 2012 جرب addEventHandler("onPlayerJoin",getRootElement(), function() setTeamFriendlyFire(getTeamFromName("team name"),false) 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