~>i'Mr.ZaId<~ Posted June 22, 2013 Share Posted June 22, 2013 السلام عليكمـ ورحمةة اللهه وبركآتهه يا شباب بغيت كود مدري وش اسمه بس بشرحه لكم مثلآ اعضاء فريق ارمي ما يقدرون يقتلون بعـًضَ يعني لو يطلقون على بعض ما يصير شي وعليكم السلآم ورحمةة اللهه وبركاته Link to comment
#Al-Ha[J]aRii Posted June 22, 2013 Share Posted June 22, 2013 السلام عليكمـ ورحمةة اللهه وبركآتهه يا شباب بغيت كود مدري وش اسمه بس بشرحه لكم مثلآ اعضاء فريق ارمي ما يقدرون يقتلون بعـًضَ يعني لو يطلقون على بعض ما يصير شي وعليكم السلآم ورحمةة اللهه وبركاته setTeamFriendlyFire Link to comment
~>i'Mr.ZaId<~ Posted June 22, 2013 Author Share Posted June 22, 2013 صح؟ واذا خطآ لاهنت مثآل addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) Link to comment
./BlackBird# Posted June 22, 2013 Share Posted June 22, 2013 (edited) صح؟ واذا خطآ لاهنت مثآل addEventHandler("onResourcesStart",resourceRoot function (thePlayer) setTeamFriendlyFire ( getTeamFromName('Army') , true ) end ) Edited June 22, 2013 by Guest Link to comment
AboShanab Posted June 22, 2013 Share Posted June 22, 2013 صح؟ واذا خطآ لاهنت مثآل addEventHandler("onResourcesStart",resourceRoot, function () setTeamFriendlyFire ( getTeamFromName("Army") , true ) end ) Link to comment
~>i'Mr.ZaId<~ Posted June 22, 2013 Author Share Posted June 22, 2013 آخوي الكؤد ما نفع Link to comment
#Al-Ha[J]aRii Posted June 22, 2013 Share Posted June 22, 2013 (edited) خلوها false مو true wiki : friendlyFire: A boolean denoting whether friendly fire is on (true) or off (false). Edited June 22, 2013 by Guest Link to comment
S4MuEL Posted June 22, 2013 Share Posted June 22, 2013 local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) Link to comment
~>i'Mr.ZaId<~ Posted June 22, 2013 Author Share Posted June 22, 2013 خلوها false مو true wiki : friendlyFire: A boolean denoting whether friendly fire is on (true) or off (false). addEventHandler("onResourcesStart",resourceRoot, function () setTeamFriendlyFire ( getTeamFromName("Army") , false) end ) والله ما نفع Link to comment
#Al-Ha[J]aRii Posted June 22, 2013 Share Posted June 22, 2013 خلوها false مو true wiki : friendlyFire: A boolean denoting whether friendly fire is on (true) or off (false). addEventHandler("onResourcesStart",resourceRoot, function () setTeamFriendlyFire ( getTeamFromName("Army") , false) end ) والله ما نفع نسيت getTeamFriendlyFire local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) must be : local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == true ) then setTeamFriendlyFire ( Team, false ) end end ) Link to comment
~>i'Mr.ZaId<~ Posted June 22, 2013 Author Share Posted June 22, 2013 local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) مآ نفع Link to comment
#Al-Ha[J]aRii Posted June 22, 2013 Share Posted June 22, 2013 local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) مآ نفع شوف ردي فوق Link to comment
S4MuEL Posted June 22, 2013 Share Posted June 22, 2013 (edited) حتى قوقل يقلك -,- تعيين نيران صديقة فريق Edited June 22, 2013 by Guest Link to comment
iMr.3a[Z]eF Posted June 22, 2013 Share Posted June 22, 2013 local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) مآ نفع شوف ردي فوق A boolean denoting whether friendly fire is on (true) or off (false). Link to comment
S4MuEL Posted June 22, 2013 Share Posted June 22, 2013 @Hajri Google Transtale wrote !تعيين نيران صديقة فريق Link to comment
K1NG Posted June 22, 2013 Share Posted June 22, 2013 كود الحجري مدري الهاجري هو الصحيح -_-" رح تقوم بتفعيل النيران الصديقة true انت لما تحط تلغي تفعيل النيران الصديقة ، وبكذا ما يقدرون يقتلون بعض إلي بنفس الفريق false لكن لما تحط # Link to comment
RdX Posted June 22, 2013 Share Posted June 22, 2013 addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم Link to comment
K1NG Posted June 22, 2013 Share Posted June 22, 2013 addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم غلط + خرابيط : | Link to comment
iMr.3a[Z]eF Posted June 22, 2013 Share Posted June 22, 2013 addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم ذا بلاير ماله دخل بتعريف الفنكشن خله كذا local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) Link to comment
K1NG Posted June 22, 2013 Share Posted June 22, 2013 addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم ذا بلاير ماله دخل بتعريف الفنكشن خله كذا local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) غلط -_-" الي ما يعرف يبرمج لا يساعد يرحم امكم Link to comment
iMr.3a[Z]eF Posted June 22, 2013 Share Posted June 22, 2013 addEventHandler("onResourcesStart", function (thePlayer) setTeamFriendlyFire ( 'Army' , true ) end ) متأأكد من الكود مكان Army اسم التيم ذا بلاير ماله دخل بتعريف الفنكشن خله كذا local Team = createTeam("Army",0,255,0) addEventHandler("onResourceStart", resourceRoot, function() if ( getTeamFriendlyFire ( Team ) == false ) then setTeamFriendlyFire ( Team, true ) end end ) غلط -_-" الي ما يعرف يبرمج لا يساعد يرحم امكم ههههههه هذا كله ما أعرف أبرمج؟ Link to comment
K1NG Posted June 22, 2013 Share Posted June 22, 2013 ههههههه هذا كله ما أعرف أبرمج؟ دامكـ مبرمج ليه تعطيه اكواد خطأ ؟ Link to comment
iMr.3a[Z]eF Posted June 22, 2013 Share Posted June 22, 2013 ههههههه هذا كله ما أعرف أبرمج؟ دامكـ مبرمج ليه تعطيه اكواد خطأ ؟ طيب شف هالكود من الويكي بلحمه ودمه, وعدلته ذذ -- get team name local allTeams = getTeamFromName ( "Gang" ) for index, theTeam in ipairs(allTeams) do -- if friendly fire is off, if ( getTeamFriendlyFire ( theTeam ) == false ) then -- switch it on setTeamFriendlyFire ( theTeam, true ) 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