Ksa911-Mta Posted December 17, 2015 Share Posted December 17, 2015 مساعده كيف بدي اعمل لف للبيد Ped CirimnalPed = createPed(293,1962.0010,2322.26699,15.45581) بدي اخليه يلف يعني اخلي البيد يلف 380 درجه دورا دائري Link to comment
Me[Z]oO Posted December 17, 2015 Share Posted December 17, 2015 مساعده كيف بدي اعمل لف للبيد Ped CirimnalPed = createPed(293,1962.0010,2322.26699,15.45581) بدي اخليه يلف يعني اخلي البيد يلف 380 درجه دورا دائري CirimnalPed = createPed(293,1962.0010,2322.26699,15.45581, 0, 0, 380) Link to comment
Ksa911-Mta Posted December 17, 2015 Author Share Posted December 17, 2015 شكرا ميزو ممكن طلب اخر ؟ Link to comment
Me[Z]oO Posted December 17, 2015 Share Posted December 17, 2015 شكرا ميزوممكن طلب اخر ؟ العفو ولو حياك الله اامر اخي Link to comment
Ksa911-Mta Posted December 17, 2015 Author Share Posted December 17, 2015 الان انا عملت وظيفه شرطي لما اخذ الوظيفه يحولني تيم بوليس الان ابي لما اي واحد يطلق علي رصاص يجيه نجوم هل في مود منشور من قبل ؟ Link to comment
Me[Z]oO Posted December 17, 2015 Share Posted December 17, 2015 الان انا عملت وظيفه شرطي لما اخذ الوظيفه يحولني تيم بوليس الان ابي لما اي واحد يطلق علي رصاص يجيه نجوم هل في مود منشور من قبل ؟ مدري منشور ولا لا تقدر تستخدم getPlayerTeam onPlayerDamage setPlayerWantedLevel Link to comment
Ksa911-Mta Posted December 17, 2015 Author Share Posted December 17, 2015 تقدر تعمل لي الكود حاهز ؟ Link to comment
Me[Z]oO Posted December 17, 2015 Share Posted December 17, 2015 تقدر تعمل لي الكود حاهز ؟ حاول وانا بصلح لك الكود Link to comment
Ksa911-Mta Posted December 17, 2015 Author Share Posted December 17, 2015 اعمل لي الكود حاهز وانا اتعلم من الكود وربي Link to comment
SycroX Posted December 17, 2015 Share Posted December 17, 2015 https://forum.multitheftauto.com/viewtopic.php?f=119&t=94653 شوف ردي Link to comment
iMr.Omar Posted December 18, 2015 Share Posted December 18, 2015 قلت لك قبل كذا , onPlayerDamage مايتنكسل :@ Link to comment
Rockyz Posted December 18, 2015 Share Posted December 18, 2015 (edited) local tTEAM = createTeam ( "Nteam", 255, 0, 0 ) addEventHandler ( "onPlayerDamage", root, function ( atk, _, _, los ) if ( atk ) and ( atk ~= source ) and ( getElementType ( atk ) == "player" ) then local teamm = getPlayerTeam ( atk ) if ( teamm ) then if ( getTeamName ( teamm ) ~= "Police" ) then setPlayerWantedLevel ( atk, getPlayerWantedLevel ( atk ) + 1 ) else outputChatBox ("",atk,0,0,0,true) end else setPlayerTeam ( atk, tTEAM ) end end ) Edited December 19, 2015 by Guest Link to comment
Rockyz Posted December 19, 2015 Share Posted December 19, 2015 https://forum.multitheftauto.com/viewtopic.php?f=119&t=94653 شوف ردي يا احمد كودك خرابيط addEventHandler("onPlayerDamage", root, function(plr,_, killer) if killer and killer ~= source and getElementType(killer) == "player" then local team = getPlayerTeam(plr) if team and getTeamName(team) == "Police" then setPlayerWantedLevel ( killer, 6 ) end end end ) addEventHandler("onPlayerDamage", root, function(plr,_,killer) if killer and killer ~= source and getElementType(killer) == "player" then local team = getPlayerTeam( plr ) local level = getPlayerWantedLevel ( killer ) if team and getTeamName(team) == "Police" then if level < 3 then cancelEvent() end end end ) من وين جايب plr,_ Link to comment
SycroX Posted December 19, 2015 Share Posted December 19, 2015 https://forum.multitheftauto.com/viewtopic.php?f=119&t=94653 شوف ردي يا احمد كودك خرابيط addEventHandler("onPlayerDamage", root, function(plr,_, killer) if killer and killer ~= source and getElementType(killer) == "player" then local team = getPlayerTeam(plr) if team and getTeamName(team) == "Police" then setPlayerWantedLevel ( killer, 6 ) end end end ) addEventHandler("onPlayerDamage", root, function(plr,_,killer) if killer and killer ~= source and getElementType(killer) == "player" then local team = getPlayerTeam( plr ) local level = getPlayerWantedLevel ( killer ) if team and getTeamName(team) == "Police" then if level < 3 then cancelEvent() end end end ) من وين جايب plr,_ انا وقتها ما جربتو سويتو له علي السريع + مثل ما قال عمر عندي خطاء لان 'onPlayerDamage' ما تتكنسل addEventHandler("onPlayerDamage", root, function(_, killer) if killer and killer ~= source and getElementType(killer) == "player" then local team = getPlayerTeam(localPlayer) if team and getTeamName(team) == "Police" then setPlayerWantedLevel ( killer, 6 ) end end end ) Link to comment
Rockyz Posted December 19, 2015 Share Posted December 19, 2015 انت شفت الساينتكس اول ؟ ليش تتخطى اول قيمة اول قيمة هي الي تبيها ( الي مسوي الضرر ) ش 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