#DRAGON!FIRE Posted April 16, 2013 Share Posted April 16, 2013 الموضوع باين من عنوانه احط ذا الكود ما يشتغل local allTeams = getElementsByType ( "team" ) for index, theTeam in ipairs(allTeams) do if ( getTeamFriendlyFire ( Police ) == true ) then setTeamFriendlyFire ( Police, false ) end end Link to comment
PaiN^ Posted April 16, 2013 Share Posted April 16, 2013 local allTeams = getElementsByType ( "team" ) for index, theTeam in ipairs(allTeams) do if ( getTeamFriendlyFire ( theTeam ) == true ) then -- switch it on setTeamFriendlyFire ( theTeam, false ) end end Link to comment
#DRAGON!FIRE Posted April 16, 2013 Author Share Posted April 16, 2013 شكرا اخوي بس وين الغلط ----- Link to comment
PaiN^ Posted April 16, 2013 Share Posted April 16, 2013 .. loop بس منت معرفها بالـ freindly fire بالتحقق من الـ Police إنت كنت حاط Link to comment
#DRAGON!FIRE Posted April 16, 2013 Author Share Posted April 16, 2013 اهــا #-مشكووووور Link to comment
iPrestege Posted April 16, 2013 Share Posted April 16, 2013 للمعلومية ! الكود بيسوي تيم فرندلي لكل التيمات بالروم! Link to comment
PaiN^ Posted April 16, 2013 Share Posted April 16, 2013 للمعلومية ! الكود بيسوي تيم فرندلي لكل التيمات بالروم! يب إذا تبيه لفريق واحد : local allTeams = getElementsByType ( 'team' ); for index, theTeam in ipairs ( allTeams ) do if getTeamName ( theTeam ) == 'Police' then if getTeamFriendlyFire ( theTeam ) == true then -- switch it on setTeamFriendlyFire ( theTeam, false ); end end end لإسم الفريق Police غير Link to comment
iMr.Dawix~# Posted April 16, 2013 Share Posted April 16, 2013 للمعلومية ! الكود بيسوي تيم فرندلي لكل التيمات بالروم! يب إذا تبيه لفريق واحد : local allTeams = getElementsByType ( 'team' ); for index, theTeam in ipairs ( allTeams ) do if getTeamName ( theTeam ) == 'Police' then if getTeamFriendlyFire ( theTeam ) == true then -- switch it on setTeamFriendlyFire ( theTeam, false ); end end end لإسم الفريق Police غير واذا كان التيم مو من نفس المود local allTeams = getElementsByType ( 'team' ) for index, theTeam in ipairs ( allTeams ) do if getTeamFromName ( theTeam ) == 'Police' then setTeamFriendlyFire ( theTeam, false ) end end Link to comment
TAPL Posted April 17, 2013 Share Posted April 17, 2013 وش فيكم؟ تهلوسون؟ لتيم واحد !! سطر واحد setTeamFriendlyFire(getTeamFromName("Police"), false) Link to comment
jafar Posted April 17, 2013 Share Posted April 17, 2013 يقدر اسوي كذا بعد Team = createTeam ( "Team", 255, 0, 0 ) setTeamFriendlyFire ( Team, false ) 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